feat: add important pages
This commit is contained in:
parent
dec83ade1c
commit
3711b0701c
3 changed files with 36 additions and 0 deletions
13
src/content/pages/sitemap.njk
Normal file
13
src/content/pages/sitemap.njk
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
permalink: /sitemap.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for page in collections.all %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url | url }}</loc>
|
||||
<lastmod>{{ page.date.toISOString() }}</lastmod>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Loading…
Add table
Add a link
Reference in a new issue