From c4b57d28caa8986d9fbdcbdb4085c8e74974dffc Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Sat, 29 Jun 2024 18:09:10 +0200
Subject: rename go module
---
templates/error.templ | 4 ++--
templates/homepage.templ | 4 ++--
templates/list.templ | 4 ++--
templates/page.templ | 4 ++--
templates/post.templ | 4 ++--
templates/tags.templ | 2 +-
6 files changed, 11 insertions(+), 11 deletions(-)
(limited to 'templates')
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) {
@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) {
#{ tag }
--
cgit 1.4.1