fix asset paths
This commit is contained in:
parent
5195ee7acd
commit
42ac9ee2b6
3 changed files with 11 additions and 7 deletions
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
permalink: /sitemap.xml
|
||||
permalink: /assets/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 %}
|
||||
{% if not page.data.draft and page.url %}
|
||||
{%- for page in collections.all -%}
|
||||
{%- if not page.data.draft and page.url %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url | url }}</loc>
|
||||
<lastmod>{{ page.date.toISOString() }}</lastmod>
|
||||
</url>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- endif -%}
|
||||
{%- endfor %}
|
||||
</urlset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue