mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-12 06:12:41 +00:00
Tweak sitemap whitespace
This commit is contained in:
parent
ceb766e660
commit
e1bfb45496
@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
|||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{% for item in collections.all -%}
|
{%- for item in collections.all %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
|
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
|
||||||
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
|
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user