summaryrefslogtreecommitdiff
path: root/assets/sitemap_full.xml
diff options
context:
space:
mode:
authorJoseph <gronca@harlemnext.com>2020-01-07 10:03:35 +0100
committerJoseph <gronca@harlemnext.com>2020-01-07 10:03:35 +0100
commit062f49612468e27d9936696150824184bdd92d32 (patch)
tree4b909842e1849680cab6a5d4ed5da6f31ce5e717 /assets/sitemap_full.xml
parentbebe3e7d4a6bb6b03783bc43944a8eff335c6af3 (diff)
downloadwiki-062f49612468e27d9936696150824184bdd92d32.tar.gz
wiki-062f49612468e27d9936696150824184bdd92d32.tar.bz2
wiki-062f49612468e27d9936696150824184bdd92d32.zip
generate pages automatically
Diffstat (limited to 'assets/sitemap_full.xml')
-rw-r--r--assets/sitemap_full.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/assets/sitemap_full.xml b/assets/sitemap_full.xml
new file mode 100644
index 0000000..8db8225
--- /dev/null
+++ b/assets/sitemap_full.xml
@@ -0,0 +1,41 @@
+---
+layout: none
+sitemap: false
+is_wiki_page: false
+permalink: /sitemap_full.xml
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+<channel>
+{% if site.search_engine == "js_rss" %}
+ <title>{{ site.name | xml_escape }}</title>
+ <description>{{ site.description | xml_escape }}</description>
+ <link>{{ site.url }}</link>
+ <atom:link href="{{ site.url }}/search.xml" rel="self" type="application/rss+xml" />
+ {% for post in site.posts %}
+ {% if post.published != false %}
+ <item>
+ <title>{{ post.title | xml_escape }}</title>
+ <description>{{ post.content | xml_escape }}</description>
+ <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+ <link>{{site.url}}{{ post.url | relative_url }}</link>
+ <guid isPermaLink="true">{{site.url}}{{ post.url | relative_url }}</guid>
+ </item>
+ {% endif %}
+ {% endfor %}
+ {% for post in site.pages %}
+ {% if post.layout != "null" %}
+ {% if post.sitemap != false %}
+ <item>
+ <title>{{ post.title | xml_escape }}</title>
+ <description>{{ post.content | xml_escape }}</description>
+ <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+ <link>{{site.url}}{{ post.url | relative_url }}</link>
+ <guid isPermaLink="true">{{site.url}}{{ post.url | relative_url }}</guid>
+ </item>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+</channel>
+</rss>