feat: remote sitemap
This commit is contained in:
parent
193366e946
commit
0275c8f02f
7 changed files with 86 additions and 52 deletions
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
permalink: "/sitemap.xml"
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for page in sitemap -%}
|
||||
<url>
|
||||
<loc>{{ page.url }}</loc>
|
||||
<lastmod>{{ page.date | date: '%Y-%m-%dT%H:%M:%S%:z' }}</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Reference in a new issue