-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeed.xml
40 lines (36 loc) · 1.44 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
---
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 }}/atom.xml" rel="self" type="application/atom+xml"/>
<link href="{{ site.url }}/" rel="alternate" type="text/html"/>
<id>{{ site.url }}/</id>
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.author.name | xml_escape }}</name>
<email>{{ site.author.email | xml_escape }}</email>
<uri>{{ site.author.url | xml_escape }}</uri>·
</author>
<rights>Copyright © {{site.time |date: "%Y" }} {{site.author.name}}</rights>
{% for post in site.posts limit:30 %}
<entry>
<title><![CDATA[{{ post.title }}]]></title>
{%- if post.link_to %}
<link rel="alternate" type="text/html" href="{{ post.link_to }}"/>
<link rel="related" type="text/html" href="{{ site.url }}{{ post.url }}"/>
{%- else %}
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}"/>
{%- endif %}
<id>{{ site.url }}{{ post.id }}</id>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
<content type="html"><![CDATA[
{{ post.content | markdownify }}
]]></content>
</entry>
{% endfor %}
</feed>