We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412ac58 commit e0cd2cfCopy full SHA for e0cd2cf
portfolio/layouts/_default/sitemap.xml
@@ -1,7 +1,7 @@
1
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
2
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
3
xmlns:xhtml="http://www.w3.org/1999/xhtml">
4
-{{ range .Data.Pages }}
+{{ range .Site.AllPages }}
5
<url>
6
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
7
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
0 commit comments