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/post.templinternal/builder/post.templ
@@ -3,6 +3,7 @@
import ( "time" "website/internal/config" + "website/internal/content" ) func Unsafe(html string) templ.Component {
@@ -18,7 +19,7 @@ { d.Format("2006-01-02") }
</time> } -templ postPage(config config.Config, post Post) { +templ postPage(config config.Config, post content.Post) { @page(config, PageSettings{ Title: post.Title, TitleAttrs: templ.Attributes{