Compare commits
No commits in common. "cf82976e9cffef4043be2b0d9d128b5de4f23495" and "ceb766e66051f4606ab72b1e8392a0b1d8e49a77" have entirely different histories.
cf82976e9c
...
ceb766e660
|
@ -16,7 +16,7 @@ eleventyComputed:
|
|||
<name>{{ sitemeta.siteAuthor.name }}</name>
|
||||
<email>{{ sitemeta.siteAuthor.email }}</email>
|
||||
</author>
|
||||
{%- for item in collections["feed items"] | reverse | itemLimit(15) %}
|
||||
{%- for item in collections["feed items"] | reverse | itemLimit(20) %}
|
||||
{% set absolutePostUrl %}{{ item.url | url | absoluteUrl(sitemeta.siteUrl) }}{% endset %}
|
||||
<entry>
|
||||
<title>{{ item.data.title }}</title>
|
||||
|
|
|
@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
|||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{%- for item in collections.all %}
|
||||
{% for item in collections.all -%}
|
||||
<url>
|
||||
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
|
||||
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
|
||||
|
|
Loading…
Reference in New Issue