creating layout
This commit is contained in:
12
src/sitemap.njk
Normal file
12
src/sitemap.njk
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
permalink: /sitemap.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{%- for entry in collections.all -%}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ entry.url }}</loc>
|
||||
</url>
|
||||
{%- endfor -%}
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user