Change default sitemap change frequency to weekly

This commit is contained in:
Helen Chong 2024-08-20 14:52:17 +08:00
parent 82df281cfb
commit 4e8894a5e4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ eleventyExcludeFromCollections: true
<url>
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
<changefreq>{{ item.data.sitemap.changefreq | default("monthly") }}</changefreq>
<changefreq>{{ item.data.sitemap.changefreq | default("weekly") }}</changefreq>
<priority>{{ item.data.sitemap.priority | default(0.5) }}</priority>
</url>
{%- endfor %}