diff options
author | Alan Pearce | 2024-06-27 13:34:21 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-27 13:34:21 +0200 |
commit | 879cc25421c66a959ab801f0937b4264a461fc7e (patch) | |
tree | 29141c22ef84cfc36ba74302b14546c21dbef199 /templates/post.templ | |
parent | d07ec650aafcfe4692bba8f481bc3cb8204cd4b0 (diff) | |
download | website-879cc25421c66a959ab801f0937b4264a461fc7e.tar.lz website-879cc25421c66a959ab801f0937b4264a461fc7e.tar.zst website-879cc25421c66a959ab801f0937b4264a461fc7e.zip |
use pointer to config in builder & templates
Diffstat (limited to 'templates/post.templ')
-rw-r--r-- | templates/post.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post.templ b/templates/post.templ index 7b82584..c432e57 100644 --- a/templates/post.templ +++ b/templates/post.templ @@ -19,7 +19,7 @@ templ postDate(d time.Time) { </time> } -templ PostPage(config config.Config, post content.Post) { +templ PostPage(config *config.Config, post content.Post) { @Page(config, PageSettings{ Title: post.Title, TitleAttrs: templ.Attributes{ |