diff options
Diffstat (limited to 'sitemap_full.xml')
| -rw-r--r-- | sitemap_full.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sitemap_full.xml b/sitemap_full.xml new file mode 100644 index 0000000..be981b6 --- /dev/null +++ b/sitemap_full.xml @@ -0,0 +1,37 @@ +--- +layout: null +sitemap: false +--- +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> +<channel> + <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 }}</link> + <guid isPermaLink="true">{{ site.url }}{{ post.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 }}</link> + <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid> + </item> + {% endif %} + {% endif %} + {% endfor %} +</channel> +</rss>
\ No newline at end of file |
