-
Notifications
You must be signed in to change notification settings - Fork 27
/
feed.xml
35 lines (33 loc) · 1.95 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
---
layout: null
permalink: /feed.xml
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"{% if site.lang %} xml:lang="{{ site.lang }}"{% endif %}>
<generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
<link href="{{ page.url | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/atom+xml" />
<link href="{{ '/' | prepend: site.baseurl | prepend: site.url }}" rel="alternate" type="text/html" {% if site.lang %}hreflang="{{ site.lang }}" {% endif %}/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ '' | prepend: site.baseurl | prepend: site.url | xml_escape }}/</id>
<title type="html">{{ site.title | smartify | xml_escape }}</title>
{% if site.description %}<subtitle>{{ site.description | xml_escape }}</subtitle>{% endif %}
{% for post in site.plugins %}
<entry xml:lang="en_US">
<title type="html">{{ post.title | smartify | strip_html | replace: '\n', ' ' | strip | xml_escape }}</title>
<link href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
<id>{{ post.url | prepend: site.baseurl | prepend: site.url }}</id>
<content type="html" xml:base="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.description | strip | xml_escape }}</content>
<summary type="html">{{ post.description | strip_html | replace: '\n', ' ' | strip | xml_escape }}</summary>
{% comment %}
{% assign post_author = post.author | default: post.authors[0] | default: site.author %}
{% assign post_author = site.data.authors[post_author] | default: post_author %}
{% assign post_author_name = post_author.name | default: post_author %}
{% endcomment %}
{% if post_author %}
<author>
<name>{{ post_author_name | xml_escape }}</name>
</author>
{% endif %}
</entry>
{% endfor %}
</feed>