Sitemap never got updated

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-02-21 19:36:38 -08:00
parent 131d10772d
commit 488a644e93

View File

@ -1,13 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'> <urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
{{#each posts.final}} {{#each pages}}
<url> <url>
<loc>https://{{page.domain}}{{this.url}}</loc> <loc>https://{{page.domain}}{{this.url}}</loc>
<lastmod>{{date this.date "yyyy-MM-dd'T'HH:mm:ss.SSSxxx"}}</lastmod> <lastmod>{{date this.dateModified "yyyy-MM-dd'T'HH:mm:ss.SSSxxx"}}</lastmod>
</url> </url>
{{/each}} {{/each}}
<url>
<loc>https://{{page.domain}}/</loc>
<lastmod>{{#with posts.first}}{{date this.date "yyyy-MM-dd'T'HH:mm:ss.SSSxxx"}}{{/with}}</lastmod>
</url>
</urlset> </urlset>