diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-03-17 09:45:07 +0100 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-03-17 09:45:07 +0100 |
commit | c3ca2fe0d0341c45132f9835778dae1ea9bd6afa (patch) | |
tree | 2789486f2c508b2dbe99f9226a309b82d7557c29 /templates/sitemap.xml | |
parent | ab271c2867480e0ad3dc4314c467a3e32e79636f (diff) | |
download | blog-c3ca2fe0d0341c45132f9835778dae1ea9bd6afa.tar |
Fix sitemap lastmod date format
Diffstat (limited to 'templates/sitemap.xml')
-rw-r--r-- | templates/sitemap.xml | 2 |
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> |