about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 18:09:10 +0200
committerAlan Pearce2024-06-29 18:09:10 +0200
commitc4b57d28caa8986d9fbdcbdb4085c8e74974dffc (patch)
tree2d7c64f5e282877add31b83b3c9ff065f73bd52e /templates
parentb4095d108a2646bcf9e7fff64788b10d9bce8da3 (diff)
downloadwebsite-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.tar.lz
website-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.tar.zst
website-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.zip
rename go module
Diffstat (limited to 'templates')
-rw-r--r--templates/error.templ4
-rw-r--r--templates/homepage.templ4
-rw-r--r--templates/list.templ4
-rw-r--r--templates/page.templ4
-rw-r--r--templates/post.templ4
-rw-r--r--templates/tags.templ2
6 files changed, 11 insertions, 11 deletions
diff --git a/templates/error.templ b/templates/error.templ
index c336ea9..369cb83 100644
--- a/templates/error.templ
+++ b/templates/error.templ
@@ -1,8 +1,8 @@
 package templates
 
 import (
-	"website/internal/config"
-	"website/internal/http"
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/http"
 	"strconv"
 )
 
diff --git a/templates/homepage.templ b/templates/homepage.templ
index 611a8ff..aa61c40 100644
--- a/templates/homepage.templ
+++ b/templates/homepage.templ
@@ -1,8 +1,8 @@
 package templates
 
 import (
-	"website/internal/config"
-	"website/internal/content"
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/content"
 )
 
 templ Homepage(config *config.Config, posts []content.Post, content string) {
diff --git a/templates/list.templ b/templates/list.templ
index 94ccf5a..fc59677 100644
--- a/templates/list.templ
+++ b/templates/list.templ
@@ -1,8 +1,8 @@
 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) {
diff --git a/templates/page.templ b/templates/page.templ
index cf08817..e5cb073 100644
--- a/templates/page.templ
+++ b/templates/page.templ
@@ -3,7 +3,7 @@ package templates
 import (
 	"io/fs"
 
-	"website/internal/config"
+	"go.alanpearce.eu/website/internal/config"
 )
 
 var (
@@ -70,7 +70,7 @@ templ Page(site *config.Config, page PageSettings) {
 			<footer>
 				Content is
 				<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
-				<a href="https://git.alanpearce.eu/website/">Site source code</a> is
+				<a href="https://git.alanpearce.eu/go.alanpearce.eu/website/">Site source code</a> is
 				<a href="https://opensource.org/licenses/MIT">MIT</a>
 			</footer>
 			@counter(site, page.Path, page.Title)
diff --git a/templates/post.templ b/templates/post.templ
index c432e57..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 {
diff --git a/templates/tags.templ b/templates/tags.templ
index 5e9878a..c872a0d 100644
--- a/templates/tags.templ
+++ b/templates/tags.templ
@@ -1,6 +1,6 @@
 package templates
 
-import "website/internal/config"
+import "go.alanpearce.eu/website/internal/config"
 
 templ tagLink(tag string, attrs templ.Attributes) {
 	<a { attrs... } href={ templ.SafeURL("/tags/" + tag) }>#{ tag }</a>