about summary refs log tree commit diff stats
path: root/templates/list.templ
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list.templ')
-rw-r--r--templates/list.templ4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/list.templ b/templates/list.templ
index 602c15c..94ccf5a 100644
--- a/templates/list.templ
+++ b/templates/list.templ
@@ -5,7 +5,7 @@ import (
 	"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{