about summary refs log tree commit diff stats
path: root/internal/sitemap/sitemap.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/sitemap/sitemap.go')
-rw-r--r--internal/sitemap/sitemap.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/sitemap/sitemap.go b/internal/sitemap/sitemap.go
index a38e277..b166f73 100644
--- a/internal/sitemap/sitemap.go
+++ b/internal/sitemap/sitemap.go
@@ -3,7 +3,8 @@ package sitemap
 import (
 	"io"
 	"time"
-	"website/internal/config"
+
+	"go.alanpearce.eu/website/internal/config"
 
 	"github.com/snabb/sitemap"
 )
@@ -13,9 +14,9 @@ type Sitemap struct {
 	Sitemap *sitemap.Sitemap
 }
 
-func New(cfg config.Config) *Sitemap {
+func New(cfg *config.Config) *Sitemap {
 	return &Sitemap{
-		config:  &cfg,
+		config:  cfg,
 		Sitemap: sitemap.New(),
 	}
 }