-
Notifications
You must be signed in to change notification settings - Fork 5
/
atom.xml
33 lines (33 loc) · 1.12 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
layout: null
sitemap:
exclude: true
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
{% capture siteurl %}{% if site.github.url %}{{ site.github.url }}{% else %}{{ site.url }}{% endif %}{% endcapture %}
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | markdownify | strip_html | xml_escape }}</subtitle>
<link href="{{ siteurl }}/atom.xml" rel="self" />
<link href="{{ siteurl }}/" />
<id>{{ siteurl }}/</id>
<updated>{{ site.time | date_to_xmlschema }}</updated>
{% for post in site.posts limit:10 %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ post.url | prepend: siteurl }}" />
<link rel="alternate" type="text/html" href="{{ post.url | prepend: siteurl }}"/>
<id>{{ post.url | prepend: siteurl }}</id>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<summary>Some text.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
{{ post.content }} {% include feed-footer.html %}
</div>
</content>
<author>
<name>{{ site.copyright }}</name>
</author>
</entry>
{% endfor %}
</feed>