all repos — website @ b27c96688785372787eb5c3c71a32767fab71ac4

My website

split content and sitemap code from builder

Alan Pearce
commit

b27c96688785372787eb5c3c71a32767fab71ac4

parent

1d247493e05cdc659e46cd3d8a01d5da1e893867

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M internal/builder/template.gointernal/builder/template.go
@@ -9,6 +9,7 @@ "strings"
"text/template" "website/internal/atom" "website/internal/config" + "website/internal/content" "website/internal/log" "github.com/PuerkitoBio/goquery"
@@ -89,7 +90,7 @@
func renderFeed( title string, config config.Config, - posts []Post, + posts []content.Post, specific string, ) (io.Reader, error) { reader, err := loadTemplate("templates/feed.xml")