summaryrefslogtreecommitdiff
path: root/templates/sitemap.xml
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-03-17 09:45:07 +0100
committerStefan Kreutz <mail@skreutz.com>2022-03-17 09:45:07 +0100
commitc3ca2fe0d0341c45132f9835778dae1ea9bd6afa (patch)
tree2789486f2c508b2dbe99f9226a309b82d7557c29 /templates/sitemap.xml
parentab271c2867480e0ad3dc4314c467a3e32e79636f (diff)
downloadblog-c3ca2fe0d0341c45132f9835778dae1ea9bd6afa.tar
Fix sitemap lastmod date format
Diffstat (limited to 'templates/sitemap.xml')
-rw-r--r--templates/sitemap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
index c95874b..59aa8f0 100644
--- a/templates/sitemap.xml
+++ b/templates/sitemap.xml
@@ -15,7 +15,7 @@
$for(pages)$
<url>
<loc>$root$$url$</loc>
- <lastmod>$if(updated)$$updated$$else$$if(date)$$date$$endif$$endif$</lastmod>
+ <lastmod>$if(updated)$$updated$$else$$if(formalDate)$$formalDate$$endif$$endif$</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
Generated by cgit. See skreutz.com for my tech blog and contact information.