diff --git a/templates/sitemap.xml b/templates/sitemap.xml index bf98488..397e0e1 100644 --- a/templates/sitemap.xml +++ b/templates/sitemap.xml @@ -1,15 +1,15 @@ - {{if .npub}}https://nostr.com/{{.npub | escapeString}}{{end}} - {{if .hostname}}https://nostr.com/r/{{.hostname | escapeString}}{{end}} + {{if .npub}}https://{{.CanonicalHost}}/{{.npub | escapeString}}{{end}} + {{if .hostname}}https://{{.CanonicalHost}}/r/{{.hostname | escapeString}}{{end}} {{.modifiedAt | escapeString}} daily 0.8 {{range .lastNotes}} - https://nostr.com/{{.Nevent | escapeString}} + https://{{$.CanonicalHost}}/{{.Nevent | escapeString}} {{.ModifiedAt | escapeString}} never 0.5