Skip to content

Commit

Permalink
Merge pull request #124 from GSA-TTS/JD-sitemap-updates
Browse files Browse the repository at this point in the history
DRAFT: Sitemap updates
  • Loading branch information
jonathanbobel authored Mar 20, 2024
2 parents e67fbbf + 3676124 commit 7a7c23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sitemap.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
permalink: /sitemap.xml
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">
{%- for page in collections.all -%}
{%- unless page.data.permalink == false %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<lastmod>{{ page.date.toISOString }}</lastmod>
<lastmod>{{ page.date | date: '%Y-%m-%d' }}</lastmod>
</url>
{%- endunless -%}
{% endfor %}
Expand Down

0 comments on commit 7a7c23e

Please sign in to comment.