File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-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.title | 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 >{{ site.time | date_to_rfc822 }}</lastBuildDate >
17
+ {% assign feed_items = 40 %}
18
+ {% for post in site.pages limit:feed_items %}
19
+ {% if post.url contains ".html" %}
20
+ <item >
21
+ <title >{{ post.title | xml_escape }}</title >
22
+ <dc : creator >Saqib Ali</dc : creator >
23
+
24
+ {% if post.excerpt %}
25
+ <description ></description >
26
+ {% else %}
27
+ <description ></description >
28
+ {% endif %}
29
+ <pubDate >{{ site.time | date_to_rfc822 }}</pubDate >
30
+ <link >{{ site.url }}{{ post.url }}</link >
31
+ <guid isPermaLink =" true" >{{ site.url }}{{ post.url }}</guid >
32
+ </item >
33
+ {% endif %}
34
+
35
+ {% endfor %}
36
+ </channel >
37
+ </rss >
You can’t perform that action at this time.
0 commit comments