Add "Episode" field to series
This commit is contained in:
parent
f4fa3055f3
commit
6f7a5c9b74
@ -107,6 +107,7 @@ func generateSerieMarkdown(serie Serie) error {
|
|||||||
"Year": serie.Year,
|
"Year": serie.Year,
|
||||||
"Rate": serie.Rate,
|
"Rate": serie.Rate,
|
||||||
"Progress": serie.Progress,
|
"Progress": serie.Progress,
|
||||||
|
"Episode": serie.Episode,
|
||||||
"Image": serie.Image,
|
"Image": serie.Image,
|
||||||
"Poster": serie.Poster,
|
"Poster": serie.Poster,
|
||||||
"Background": serie.Background,
|
"Background": serie.Background,
|
||||||
|
@ -14,6 +14,7 @@ type Serie struct {
|
|||||||
Year int `yaml:"year"`
|
Year int `yaml:"year"`
|
||||||
Rate float64 `yaml:"rate"`
|
Rate float64 `yaml:"rate"`
|
||||||
Progress string `yaml:"progress"`
|
Progress string `yaml:"progress"`
|
||||||
|
Episode string `yaml:"episode"`
|
||||||
Image string `yaml:"image"`
|
Image string `yaml:"image"`
|
||||||
Poster string `yaml:"poster-image"`
|
Poster string `yaml:"poster-image"`
|
||||||
Background string `yaml:"background-image"`
|
Background string `yaml:"background-image"`
|
||||||
|
@ -5,6 +5,7 @@ subtitle: "{{ .Subtitle }}"
|
|||||||
year: {{ .Year }}
|
year: {{ .Year }}
|
||||||
rate: {{ .Rate }}
|
rate: {{ .Rate }}
|
||||||
progress: {{ .Progress }}
|
progress: {{ .Progress }}
|
||||||
|
episode: {{ .Episode }}
|
||||||
image: {{ .Image }}
|
image: {{ .Image }}
|
||||||
poster-image: {{ .Poster }}
|
poster-image: {{ .Poster }}
|
||||||
background-image: {{ .Background }}
|
background-image: {{ .Background }}
|
||||||
|
Loading…
Reference in New Issue
Block a user