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