aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/site/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/site/main.go b/cmd/site/main.go
index 843884d..8d76786 100644
--- a/cmd/site/main.go
+++ b/cmd/site/main.go
@@ -162,6 +162,12 @@ func Build() (*Site, error) {
DatePublished: item.Date,
ContentHTML: string(item.BodyHTML),
})
+
+ smi.Add(&sitemap.URL{
+ Loc: "https://christine.website/" + item.Link,
+ LastMod: &item.Date,
+ ChangeFreq: sitemap.Monthly,
+ })
}
// Add HTTP routes here