cmd/site: fix sitemap
This commit is contained in:
parent
0bf1303735
commit
3a97e6fe63
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue