Skip to content

Commit

Permalink
chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Oct 9, 2024
1 parent 2206ba0 commit 9cc51ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cast/episode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9cc51ae

Please sign in to comment.