29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
|
---
|
||
|
title : Atom Feed
|
||
|
---
|
||
|
|
||
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||
|
<title type="text" xml:lang="en">{{ site.title }}</title>
|
||
|
<link type="application/atom+xml" href="{{ site.baseurl | prepend: site.url }}/atom.xml" rel="self"/>
|
||
|
<link href="{{ site.baseurl | prepend: site.url }}/"/>
|
||
|
<updated>{{ site.time | date: "%Y-%m-%dT%H:%M:%SZ" }}</updated>
|
||
|
<id>{{ site.baseurl | prepend: site.url }}/</id>
|
||
|
<author>
|
||
|
<name>{{ site.author.name }}</name>
|
||
|
<email>{{ site.author.email }}</email>
|
||
|
</author>
|
||
|
<rights type="text">Copyright © {{ site.time | date: "%Y" }} {{ site.author.name }}. All Rights Reserved.</rights>
|
||
|
{% for post in site.posts limit:10 %}
|
||
|
<entry>
|
||
|
<title>{{ post.title | xml_escape }}</title>
|
||
|
<link rel="alternate" type="text/html" href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" />
|
||
|
<published>{{ post.date | date: "%Y-%m-%dT%H:%M:%SZ" }}</published>
|
||
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
||
|
<id>{{ post.url | prepend: site.baseurl | prepend: site.url }}</id>
|
||
|
<content type="html"><![CDATA[ {{ post.content | markdownify }} ]]></content>
|
||
|
</entry>
|
||
|
{% endfor %}
|
||
|
|
||
|
</feed>
|