diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/404.md | 6 | ||||
| -rw-r--r-- | assets/blog/index.html | 6 | ||||
| -rw-r--r-- | assets/sitemap_full.xml | 41 |
3 files changed, 53 insertions, 0 deletions
diff --git a/assets/404.md b/assets/404.md new file mode 100644 index 0000000..2060deb --- /dev/null +++ b/assets/404.md @@ -0,0 +1,6 @@ +--- +layout: git-wiki-404 +permalink: /404.html +--- + +<!--- this file is needed for automatic creation of non existent pages ---> diff --git a/assets/blog/index.html b/assets/blog/index.html new file mode 100644 index 0000000..1e17dc4 --- /dev/null +++ b/assets/blog/index.html @@ -0,0 +1,6 @@ +--- +is_wiki_page: false +permalink: /blog/index.html +--- + +<!--- this file is needed for automatic creation of blog page ---> 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> |
