--- ##### # generates a sitemap based on https://www.sitemaps.org/ # to be deployed at root of collection # only generated during production environment build # blank if noindex: true is set in _config.yml ##### permalink: /sitemap.xml --- {%- if jekyll.environment == "production" and site.noindex != true -%} {% for p in site.html_pages %}{% unless page.noindex == true or layout.noindex == true %} {{ p.url | absolute_url }} {{ site.time | date_to_xmlschema }} monthly {% endunless %}{% endfor %} {%- endif -%}