mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-25 19:34:48 +01:00
52 lines
1.9 KiB
XML
52 lines
1.9 KiB
XML
---
|
|
layout: nil
|
|
---
|
|
<?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"/>
|
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
|
<id>{{ site.url }}</id>
|
|
<author>
|
|
<name>{{ site.author }}</name>
|
|
</author>
|
|
|
|
{% for post in site.posts limit:100 %}
|
|
<entry>
|
|
{% if post.layout == "link" %}
|
|
<title>{{ post.title | escape | titlecase }} →</title>
|
|
<link>{{ post.linkurl | escape }}</link>
|
|
{% else %}
|
|
<title>{{ post.title | escape | titlecase }}</title>
|
|
<link>{{ site.url }}{{ post.url | escape }}</link>
|
|
{% endif %}
|
|
|
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
|
|
|
{% if post.updated %}
|
|
<updated>{{ post.updated | date_to_xmlschema }}</updated>
|
|
{% else %}
|
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
|
{% endif %}
|
|
|
|
<id>{{ site.url }}{{ post.url | escape }}</id>
|
|
<content type="html">
|
|
{% if post.image %}
|
|
<img src="{{ site.url }}/media/{{ post.image }}" />
|
|
{% endif %}
|
|
|
|
{{ post.content | xml_escape }}
|
|
|
|
{% if post.layout == "link" %}
|
|
<a href="{{ post.linkurl | escape }}">Go to source &#187;</a> <br />
|
|
<a href="{{ site.url }}{{ post.url | escape }}" title="Permalink for this post">&#8734;</a>
|
|
{% endif %}
|
|
|
|
<hr />
|
|
You should <a href="https://twitter.com/kremalicious">follow me on Twitter.</a>
|
|
</content>
|
|
</entry>
|
|
{% endfor %}
|
|
</feed> |