From fc2055f01dcbe835cc175f9bbc6bf801b445db8b Mon Sep 17 00:00:00 2001 From: "roneo.org" Date: Sun, 27 Feb 2022 23:28:02 +0100 Subject: [PATCH] offTheRecord: import default sitemap.xml --- layouts/sitemap.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 layouts/sitemap.xml diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml new file mode 100644 index 00000000..7fdcc504 --- /dev/null +++ b/layouts/sitemap.xml @@ -0,0 +1,25 @@ + + + +{{ printf "" | safeHTML }} + + {{ range .Data.Pages }} + + {{ .Permalink }}{{ if not .Lastmod.IsZero }} + {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} + {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} + {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }} + {{ end }} + {{ end }} + + {{ end }} + \ No newline at end of file