Skip to content

Commit

Permalink
Hide items from sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrythall committed May 21, 2024
1 parent d7c7c0d commit 3eedd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sitemap.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.all %}
{% if page.url == false or page.url contains "/presenters/" %}
{% if page.url == false or page.url contains "/presenters/" or page.data.sitemap == false %}
{% else %}
<url>
<loc>{{ site.domain }}{{ page.url }}</loc>
Expand Down

0 comments on commit 3eedd37

Please sign in to comment.