about summary refs log tree commit diff stats
path: root/templates/post.templ
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.templ')
-rw-r--r--templates/post.templ6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/post.templ b/templates/post.templ
index 7b82584..9717b4e 100644
--- a/templates/post.templ
+++ b/templates/post.templ
@@ -2,8 +2,8 @@ package templates
 
 import (
 	"time"
-	"website/internal/config"
-	"website/internal/content"
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/content"
 )
 
 func Unsafe(html string) templ.Component {
@@ -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{