-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathatom.xml
36 lines (31 loc) · 1.57 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
34
35
36
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
<title type="text">Feross.org</title>
<subtitle type="text">Pure concentrated awesome.</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<link rel="alternate" type="text/html" href="https://feross.org" />
<id>https://feross.org</id>
<link rel="self" type="application/atom+xml" href="https://feross.org/atom.xml" />
<author>
<name>Feross Aboukhadijeh</name>
<uri>https://feross.org</uri>
</author>
{% for post in site.posts limit: 20 %}
{% capture summary %}{% if post.summary %}{{ post.summary }}{% else %}{{ post.content | strip_html | truncatewords: 55 }}{% endif %}{% endcapture %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<author>
<name>Feross Aboukhadijeh</name>
<uri>https://feross.org</uri>
</author>
<link rel="alternate" type="text/html" href="https://feross.org{{ post.url }}"/>
<id>https://feross.org{{ post.id }}</id>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<summary type="html"><![CDATA[{{ summary }}]]></summary>
<content type="html" xml:base="https://feross.org{{ post.url }}"><![CDATA[{% if post.dynamic or post.demo %}<p><em><strong>This blog post contains JavaScript and other dynamic content that will not display correctly in most RSS readers. I recommend <a href="https://feross.org{{ post.url }}">reading this post</a> directly in your web browser.</strong></em></p>{% endif %}{{ post.content }}]]></content>
</entry>
{% endfor %}
</feed>