--- --- {% for post in site.posts %} {{ site.url }}{{ post.url }} {% assign versions=site.posts | where:"ref", post.ref %} {% for version in versions %} {% endfor %} {{ post.date | date_to_xmlschema }} monthly {% endfor %} {% for page in site.pages %} {{ site.url }}{{ page.url }} {% if page.ref != nil %} {% assign versions=site.pages | where:"ref", page.ref %} {% for version in versions %} {% endfor %} {% endif %} monthly {% endfor %} {% for pastebin in site.pastebins %} {{ site.url }}{{ pastebin.url }} yearly {% endfor %} {% for til in site.tils %} {{ site.url }}{{ til.url }} {% assign versions=site.tils | where:"ref", til.ref %} {% for version in versions %} {% endfor %} monthly {% endfor %} {% for slide in site.slides %} {{ site.url }}{{ slide.url }} {% assign versions=site.slides | where:"ref", slide.ref %} {% for version in versions %} {% endfor %} monthly {% endfor %}