Add "Episode" field to series

This commit is contained in:
Óscar M. Lage 2024-10-11 20:20:16 +02:00
parent f4fa3055f3
commit 6f7a5c9b74
3 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -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"`

View File

@ -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 }}