File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
4
+ <rss version =" 2.0"
5
+ xmlns:atom=" http://www.w3.org/2005/Atom"
6
+ xmlns:dc=" http://purl.org/dc/elements/1.1/"
7
+ xmlns:sy=" http://purl.org/rss/1.0/modules/syndication/"
8
+ >
9
+ <channel >
10
+ <title >{{ site.name | xml_escape }}</title >
11
+ <description >{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description >
12
+ <sy : updatePeriod >{{ site.feed_update_period | default: "daily" | xml_escape }}</sy : updatePeriod >
13
+ <sy : updateFrequency >{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy : updateFrequency >
14
+ <link >{{ site.url }}</link >
15
+ <atom : link href =" {{ site.url }}/{{ page.path }}" rel =" self" type =" application/rss+xml" />
16
+ <lastBuildDate >{% for post in site.posts limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %}</lastBuildDate >
17
+ {% assign feed_items = site.feed_items | default: 10 %}
18
+ {% for post in site.pages limit:feed_items %}
19
+ <item >
20
+ <title >{{ post.title | xml_escape }}</title >
21
+ {% if post.author.name %}
22
+ <dc : creator >{{ post.author.name | xml_escape }}</dc : creator >
23
+ {% endif %}
24
+ {% if post.excerpt %}
25
+ <description >{{ post.excerpt | xml_escape }}</description >
26
+ {% else %}
27
+ <description >{{ post.content | xml_escape }}</description >
28
+ {% endif %}
29
+ <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
30
+ <link >{{ site.url }}{{ post.url }}</link >
31
+ <guid isPermaLink =" true" >{{ site.url }}{{ post.url }}</guid >
32
+ </item >
33
+ {% endfor %}
34
+ </channel >
35
+ </rss >
You can’t perform that action at this time.
0 commit comments