aboutsummaryrefslogtreecommitdiff
path: root/sitemap.xml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-13 08:27:56 -0300
committerEuAndreh <eu@euandre.org>2020-08-13 08:27:56 -0300
commit99617e0add223b231411fc62e4240c9e79028224 (patch)
tree347af8c5b4353b6b4ad6f0da8a7d57f4fc205bbf /sitemap.xml
parentAdd TIL on Jekyll anchors (diff)
downloadeuandre.org-99617e0add223b231411fc62e4240c9e79028224.tar.gz
euandre.org-99617e0add223b231411fc62e4240c9e79028224.tar.xz
sitemap.xml: Add pastebins and TILs
Diffstat (limited to '')
-rw-r--r--sitemap.xml24
1 files changed, 21 insertions, 3 deletions
diff --git a/sitemap.xml b/sitemap.xml
index 1c17a14..8f3aa6f 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -10,20 +10,38 @@
<xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ site.url }}{{ version.url }}" />
{% endfor %}
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
- <changefreq>weekly</changefreq>
+ <changefreq>monthly</changefreq>
</url>
{% endfor %}
{% for page in site.pages %}
<url>
- <loc>{{ site.base }}{{ page.url }}</loc>
+ <loc>{{ site.url }}{{ page.url }}</loc>
{% if page.ref != nil %}
{% assign versions=site.pages | where:"ref", page.ref %}
{% for version in versions %}
<xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ site.url }}{{ version.url }}" />
{% endfor %}
{% endif %}
- <changefreq>weekly</changefreq>
+ <changefreq>monthly</changefreq>
</url>
{% endfor %}
+
+ {% for pastebin in site.pastebins %}
+ <url>
+ <loc>{{ site.url }}{{ pastebin.url }}</loc>
+ <changefreq>yearly</changefreq>
+ </url>
+ {% endfor %}
+
+ {% for til in site.tils %}
+ <url>
+ <loc>{{ site.url }}{{ til.url }}</loc>
+ {% assign versions=site.tils | where:"ref", til.ref %}
+ {% for version in versions %}
+ <xhtml:link rel="alternate" hreflang="{{ version.lang }}" href="{{ site.url }}{{ version.url }}" />
+ {% endfor %}
+ <changefreq>monthly</changefreq>
+ </url>
+ {% endfor %}
</urlset>