Fix sitemap: false being included in sitemap.json

This commit is contained in:
rubenwardy 2022-07-31 20:40:47 +01:00
parent df46f465cd
commit f7d2a61fbd

View File

@ -1,7 +1,7 @@
---
---
{% assign pages = site.en | sort: "idx" %}
{% assign pages = site.en | where_exp: "item", "item.sitemap != false" | sort: "idx" %}
{% assign num = 0 %}
[