diff options
Diffstat (limited to 'templates/list.templ')
-rw-r--r-- | templates/list.templ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/list.templ b/templates/list.templ index 602c15c..fc59677 100644 --- a/templates/list.templ +++ b/templates/list.templ @@ -1,11 +1,11 @@ package templates import ( - "website/internal/config" - "website/internal/content" + "go.alanpearce.eu/website/internal/config" + "go.alanpearce.eu/website/internal/content" ) -templ TagPage(config config.Config, tag string, posts []content.Post, path string) { +templ TagPage(config *config.Config, tag string, posts []content.Post, path string) { @Page(config, PageSettings{ Title: tag, Path: path, @@ -24,7 +24,7 @@ templ TagPage(config config.Config, tag string, posts []content.Post, path strin } } -templ ListPage(config config.Config, posts []content.Post, path string) { +templ ListPage(config *config.Config, posts []content.Post, path string) { @Page(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ |