mirror of
https://github.com/skoelle/moonweb-www.git
synced 2026-09-18 02:00:24 +00:00
fix sitemap
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{%- for page in collections.all %}{% if page.data.layout != "redirect.njk" and page.data.permalink != "/sitemap.xml" %}
|
||||
{%- for page in collections.all %}{% if page.data.layout != "redirect.njk" and page.data.permalink != "/sitemap.xml" and page.url != "/404/" %}
|
||||
<url>
|
||||
<loc>{{ site.domain }}{{ page.url }}</loc>{% if page.data.lastChanged %}
|
||||
<lastmod>{{ page.data.lastChanged | toIsoDate }}</lastmod>{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user