diff options
author | Alan Pearce | 2024-09-29 09:53:59 +1300 |
---|---|---|
committer | Alan Pearce | 2024-09-29 09:53:59 +1300 |
commit | 4698810abfcad6c74ac4c819cd415022aa02336e (patch) | |
tree | 9405253517c9826152a11920be24cbb5d083ed6b | |
parent | c8b957d42dee335d9e6b1360f4649b9f6224c06b (diff) | |
download | website-4698810abfcad6c74ac4c819cd415022aa02336e.tar.lz website-4698810abfcad6c74ac4c819cd415022aa02336e.tar.zst website-4698810abfcad6c74ac4c819cd415022aa02336e.zip |
add missing imports to templ files
-rw-r--r-- | templates/page.templ | 5 | ||||
-rw-r--r-- | templates/post.templ | 3 |
2 files changed, 6 insertions, 2 deletions
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" ) |