forked from bitcoinorghk/bitcoinhk.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
49 lines (44 loc) · 1.28 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
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout:
limit: 25
sitemap: false
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
{% assign base = site.url %}
<title>{{ site.title }}</title>
<generator uri="https://github.com/jekyll/jekyll">Jekyll v{{ jekyll.version }}</generator>
<icon>{{ site.url }}/images/apple-touch-icon-precomposed.png</icon>
<subtitle>{{ site.description }}</subtitle>
<link href="{{ base }}{{ page.url }}" rel="self"/>
<link href="{{ base }}/" rel="alternate" type="text/html"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ base }}/</id>
<author>
<name>{{ site.title }}</name>
<uri>{{ site.url }}/</uri>
</author>
{% for post in site.posts limit: page.limit %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ base }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ base }}{{ post.id }}</id>
{% if post.author %}
<author>
<name>{{ post.author | xml_escape }}</name>
</author>
{% else %}
<author>
<name>{{ site.title }}</name>
<uri>{{ site.url }}/</uri>
{% if site.email %}<email>{{ site.email }}</email>{% endif %}
</author>
{% endif %}
<content type="html">
{{ post.content | xml_escape }}
{% include feed-footer.html %}
</content>
</entry>
{% endfor %}
</feed>