diff options
Diffstat (limited to 'internal/builder/post.templ')
-rw-r--r-- | internal/builder/post.templ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/builder/post.templ b/internal/builder/post.templ index 740c5aa..6f12e5c 100644 --- a/internal/builder/post.templ +++ b/internal/builder/post.templ @@ -3,6 +3,7 @@ package builder import ( "time" "website/internal/config" + "website/internal/content" ) func Unsafe(html string) templ.Component { @@ -18,7 +19,7 @@ templ postDate(d time.Time) { </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{ |