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,
"Rate": serie.Rate,
"Progress": serie.Progress,
"Episode": serie.Episode,
"Image": serie.Image,
"Poster": serie.Poster,
"Background": serie.Background,

View File

@ -14,6 +14,7 @@ type Serie struct {
Year int `yaml:"year"`
Rate float64 `yaml:"rate"`
Progress string `yaml:"progress"`
Episode string `yaml:"episode"`
Image string `yaml:"image"`
Poster string `yaml:"poster-image"`
Background string `yaml:"background-image"`

View File

@ -5,6 +5,7 @@ subtitle: "{{ .Subtitle }}"
year: {{ .Year }}
rate: {{ .Rate }}
progress: {{ .Progress }}
episode: {{ .Episode }}
image: {{ .Image }}
poster-image: {{ .Poster }}
background-image: {{ .Background }}