1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00
blog/_src/feed/index.xml

103 lines
4.0 KiB
XML
Raw Normal View History

2013-11-21 00:02:57 +01:00
---
redirect_from:
- /home/feed/
- /feed/atom/
- /comments/feed/
2013-11-21 00:02:57 +01:00
---
2013-11-21 00:44:52 +01:00
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
2015-04-27 22:36:37 +02:00
<link href="{{ site.url }}/feed/" type="application/atom+xml" rel="self" />
<link href="{{ site.url }}/" rel="alternate" type="text/html" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
2015-08-24 01:54:29 +02:00
<id>{{ site.url }}/</id>
{% if site.name %}
<title>{{ site.name | xml_escape }}</title>
{% endif %}
{% if site.description %}
<subtitle>{{ site.description | xml_escape }}</subtitle>
{% endif %}
{% if site.author %}
<author>
{% if site.author.name %}
<name>{{ site.author.name | xml_escape }}</name>
{% else %}
<name>{{ site.author | xml_escape }}</name>
{% endif %}
{% if site.author.email %}
<email>{{ site.author.email | xml_escape }}</email>
{% endif %}
{% if site.author.uri %}
<uri>{{ site.author.uri | xml_escape }}</uri>
{% endif %}
</author>
{% endif %}
2015-04-27 22:36:37 +02:00
2015-08-24 01:54:29 +02:00
{% for post in site.posts limit:100 %}
<entry>
2013-11-21 00:44:52 +01:00
{% if post.layout == "link" %}
2015-08-24 01:54:29 +02:00
<title type="html">{{ post.title | markdownify | strip_html | strip_newlines | xml_escape | titlecase }} &#8594;</title>
<link href="{{ post.linkurl | escape }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
2013-11-21 00:44:52 +01:00
{% else %}
2015-08-24 01:54:29 +02:00
<title type="html">{{ post.title | markdownify | strip_html | strip_newlines | xml_escape | titlecase }}</title>
<link href="{{ site.url }}{{ post.url | escape }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
2013-11-21 00:44:52 +01:00
{% endif %}
2015-04-27 22:36:37 +02:00
2013-11-21 00:44:52 +01:00
<published>{{ post.date | date_to_xmlschema }}</published>
2015-04-27 22:36:37 +02:00
2013-12-01 21:46:31 +01:00
{% if post.updated %}
<updated>{{ post.updated | date_to_xmlschema }}</updated>
2015-08-24 01:54:29 +02:00
{% else %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
2013-11-21 00:44:52 +01:00
{% endif %}
2015-04-27 22:36:37 +02:00
<id>{{ post.id | prepend: site.url | xml_escape }}</id>
2015-08-24 01:54:29 +02:00
<content type="html" xml:base="{{ post.url | xml_escape }}">
2013-11-21 00:44:52 +01:00
{% if post.image %}
&lt;img src=&quot;{{ site.url }}/media/{{ post.image }}&quot; /&gt;
2013-11-21 00:02:57 +01:00
{% endif %}
2015-04-27 22:36:37 +02:00
{{ post.content | markdownify | xml_escape }}
2015-04-27 22:36:37 +02:00
2015-08-24 01:54:29 +02:00
{% if post.layout == "link" %}
&lt;a href=&quot;{{ post.linkurl | xml_escape }}&quot;&gt;Go to source &amp;#187;&lt;/a&gt; &lt;br /&gt;
&lt;a href=&quot;{{ site.url }}{{ post.url | xml_escape }}&quot; title=&quot;Permalink for this post&quot;&gt;&amp;#8734;&lt;/a&gt;
2013-11-21 00:44:52 +01:00
{% endif %}
</content>
{% if post.author %}
<author>
{% if post.author.name %}
<name>{{ post.author.name | xml_escape }}</name>
{% else %}
<name>{{ post.author | xml_escape }}</name>
{% endif %}
{% if post.author.email %}
<email>{{ post.author.email | xml_escape }}</email>
{% endif %}
{% if post.author.url %}
<uri>{{ post.author.url | xml_escape }}</uri>
{% endif %}
</author>
{% endif %}
{% if post.category %}
<category term="{{ post.category | xml_escape }}" />
{% endif %}
{% for tag in post.tags %}
<category term="{{ tag | xml_escape }}" />
{% endfor %}
{% if post.excerpt %}
2015-08-24 01:54:29 +02:00
<summary type="html">{{ post.excerpt | markdownify | strip_html | strip_newlines | xml_escape }}</summary>
{% endif %}
2015-08-24 01:54:29 +02:00
</entry>
{% endfor %}
2015-05-19 00:45:48 +02:00
</feed>