From 99617e0add223b231411fc62e4240c9e79028224 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 13 Aug 2020 08:27:56 -0300 Subject: sitemap.xml: Add pastebins and TILs --- sitemap.xml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'sitemap.xml') diff --git a/sitemap.xml b/sitemap.xml index 1c17a14..8f3aa6f 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -10,20 +10,38 @@ {% endfor %} {{ post.date | date_to_xmlschema }} - weekly + monthly {% endfor %} {% for page in site.pages %} - {{ site.base }}{{ page.url }} + {{ site.url }}{{ page.url }} {% if page.ref != nil %} {% assign versions=site.pages | where:"ref", page.ref %} {% for version in versions %} {% endfor %} {% endif %} - weekly + 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 %} -- cgit v1.2.3