From 4698810abfcad6c74ac4c819cd415022aa02336e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 29 Sep 2024 09:53:59 +1300 Subject: add missing imports to templ files --- templates/page.templ | 5 +++-- templates/post.templ | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/page.templ b/templates/page.templ index 39dd263..294b73e 100644 --- a/templates/page.templ +++ b/templates/page.templ @@ -1,9 +1,10 @@ package templates import ( - "io/fs" - + "context" "go.alanpearce.eu/website/internal/config" + "io" + "io/fs" "net/url" ) diff --git a/templates/post.templ b/templates/post.templ index 9717b4e..1a5495c 100644 --- a/templates/post.templ +++ b/templates/post.templ @@ -1,7 +1,10 @@ package templates import ( + "context" + "io" "time" + "go.alanpearce.eu/website/internal/config" "go.alanpearce.eu/website/internal/content" ) -- cgit 1.4.1