diff options
Diffstat (limited to 'internal/builder/template.go')
-rw-r--r-- | internal/builder/template.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/builder/template.go b/internal/builder/template.go index 376e48a..9b1d9bd 100644 --- a/internal/builder/template.go +++ b/internal/builder/template.go @@ -9,6 +9,7 @@ import ( "text/template" "website/internal/atom" "website/internal/config" + "website/internal/content" "website/internal/log" "github.com/PuerkitoBio/goquery" @@ -89,7 +90,7 @@ func renderRobotsTXT(config config.Config) (io.Reader, error) { func renderFeed( title string, config config.Config, - posts []Post, + posts []content.Post, specific string, ) (io.Reader, error) { reader, err := loadTemplate("templates/feed.xml") |