-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
43 lines (43 loc) · 2.13 KB
/
feed.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
34
35
36
37
38
39
40
41
42
43
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ site.uri }}</id>
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
<icon>{{ "/favicon.ico" | prepend: site.baseurl | prepend: site.url }}</icon>
<logo>{{ "/assets/images/author.png" | prepend: site.baseurl | prepend: site.url }}</logo>
<link href="{{ site.url }}{{ site.baseurl }}" rel="alternate" type="text/html" hreflang="en"/>
<link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/atom+xml" />
<author>
<name>{{ site.author.name }}</name>
<uri>{{ site.author.uri }}</uri>
</author>
<rights type="html">
<span resource="{{ site.uri }}">All content on this site by <span property="http://creativecommons.org/ns#attributionName">{{ site.author.name }}</span> is licensed under a <a property="http://creativecommons.org/ns#license" href="{{ site.license.url }}">{{ site.license.name }}</a>.</span>
</rights>
<updated>{{ site.time | date_to_rfc822 }}</updated>
<generator uri="http://jekyllrb.com/" version="{{ jekyll.version }}">
Jekyll v{{ jekyll.version }}
</generator>
{% for post in site.posts limit:10 %}
<entry>
<id>{{ post.url | prepend: site.baseurl | prepend: site.url }}</id>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" />
<updated>{{ post.date | date_to_xmlschema }}</updated>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
<content type="html">{{ post.content | xml_escape | truncatewords: 50 }}</content>
<author>
<name>{{ site.author.name }}</name>
<uri>{{ site.author.uri }}</uri>
</author>
</entry>
{% endfor %}
</feed>