-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
37 lines (35 loc) · 1.48 KB
/
Copy pathatom.xml
File metadata and controls
37 lines (35 loc) · 1.48 KB
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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
<link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self" type="application/atom+xml"/>
<link href="{{ site.url }}{{ site.baseurl }}/" rel="alternate" type="text/html"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ site.baseurl }}/</id>
<author>
<name>{{ site.author | xml_escape }}</name>
{% if site.email %}<email>{{ site.email | xml_escape }}</email>{% endif %}
</author>
<generator uri="https://jekyllrb.com/">Jekyll v{{ jekyll.version }}</generator>
{% for post in site.posts limit:20 %}
{% unless post.redirect_to %}
<entry>
<title type="html">{{ post.title | xml_escape }}</title>
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}" rel="alternate" type="text/html"/>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id>
{% if post.description %}
<summary type="text">{{ post.description | xml_escape }}</summary>
{% endif %}
<content type="html">{{ post.content | xml_escape }}</content>
{% for tag in post.tags %}
<category term="{{ tag | xml_escape }}"/>
{% endfor %}
</entry>
{% endunless %}
{% endfor %}
</feed>