{% if page.xsl %} {% endif %} {% assign collections = site.collections | where_exp:'collection','collection.output != false' %} {% for collection in collections %} {% assign docs = collection.docs | where_exp:'doc','doc.sitemap != false' %} {% for doc in docs %} {{ doc.url | replace:'/index.html','/' | absolute_url }} {% if doc.last_modified_at or doc.date %} {{ doc.last_modified_at | default: doc.date | date_to_xmlschema }} {% endif %} {% endfor %} {% endfor %} {% assign pages = site.html_pages | where_exp:'doc','doc.sitemap != false' %} {% for page in pages %} {{ page.url | replace:'/index.html','/' | absolute_url }} {% if page.last_modified_at %} {{ page.last_modified_at | date_to_xmlschema }} {% endif %} {% endfor %} {% for file in page.static_files %} {{ file.path | absolute_url }} {{ file.modified_time | date_to_xmlschema }} {% endfor %}