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

55 lines
2.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">
<title type="text" xml:lang="en">{{ site.name }}</title>
<link type="application/atom+xml" href="{{ site.url }}/feed/" rel="self"/>
<link type="text" href="{{ site.url }}" rel="alternate"/>
2013-11-21 00:44:52 +01:00
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
2013-11-21 00:44:52 +01:00
<author>
<name>{{ site.author }}</name>
</author>
{% for post in site.posts limit:100 %}
<entry>
{% if post.layout == "link" %}
<title>{{ post.title | escape | titlecase }} &#8594;</title>
2013-12-07 16:10:14 +01:00
<link>{{ post.linkurl | escape }}</link>
2013-11-21 00:44:52 +01:00
{% else %}
<title>{{ post.title | escape | titlecase }}</title>
<link>{{ site.url }}{{ post.url | escape }}</link>
2013-11-21 00:44:52 +01:00
{% endif %}
<published>{{ post.date | date_to_xmlschema }}</published>
2013-12-01 21:46:31 +01:00
{% if post.updated %}
<updated>{{ post.updated | date_to_xmlschema }}</updated>
2014-03-07 19:15:03 +01:00
{% else %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
2013-11-21 00:44:52 +01:00
{% endif %}
<id>{{ site.url }}{{ post.url | escape }}</id>
2013-11-21 00:44:52 +01:00
<content type="html">
{% if post.image %}
&lt;img src=&quot;{{ site.url }}/media/{{ post.image }}&quot; /&gt;
2013-11-21 00:02:57 +01:00
{% endif %}
2013-11-21 00:44:52 +01:00
{{ post.content | xml_escape }}
{% if post.layout == "link" %}
2014-03-07 19:15:03 +01:00
&lt;a href=&quot;{{ post.linkurl | escape }}&quot;&gt;Go to source &amp;#187;&lt;/a&gt; &lt;br /&gt;
&lt;a href=&quot;{{ site.url }}{{ post.url | escape }}&quot; title=&quot;Permalink for this post&quot;&gt;&amp;#8734;&lt;/a&gt;
2013-11-21 00:44:52 +01:00
{% endif %}
2014-03-07 19:15:03 +01:00
&lt;hr /&gt;
You should &lt;a href=&quot;https://twitter.com/kremalicious&quot;&gt;follow me on Twitter.&lt;/a&gt;
2013-11-21 00:44:52 +01:00
</content>
</entry>
{% endfor %}
</feed>