diff --git a/internal/cast/episode.go b/internal/cast/episode.go index 1337059..3adab45 100644 --- a/internal/cast/episode.go +++ b/internal/cast/episode.go @@ -195,7 +195,7 @@ func LoadEpisode( Title: title, Subtitle: subtitle, Date: pubDate.Format(time.RFC3339), - Chapter: au.Chapters, + Chapters: au.Chapters, } b, err := yaml.Marshal(epm) if err != nil { @@ -332,7 +332,7 @@ type EpisodeFrontMatter struct { Title string `yaml:"title"` Date string `yaml:"date"` Subtitle string `yaml:"subtitle"` - Chapter []*ChapterSegment `yaml:"chapter,omitempty"` + Chapters []*ChapterSegment `yaml:"chapters,omitempty"` audio *Audio pubDate time.Time