|
1 | 1 | --- |
2 | 2 | title : RSS Feed |
3 | 3 | permalink: /rss.xml |
| 4 | +theme: |
| 5 | + name: orionrobots |
4 | 6 | --- |
| 7 | +{% capture BASE_PATH %}{{ site.production_url }}{% endcapture %} |
| 8 | +{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ theme.name }}{% endcapture %} |
5 | 9 | <?xml version="1.0" encoding="UTF-8" ?> |
6 | 10 | <rss version="2.0"> |
7 | 11 | <channel> |
8 | | - <title>{{ site.title }}</title> |
9 | | - <description>{{ site.title }} - {{ site.author.name }}</description> |
10 | | - <link>{{ site.production_url }}{{ site.rss_path }}</link> |
11 | | - <link>{{ site.production_url }}</link> |
12 | | - <lastBuildDate>{{ site.time }}</lastBuildDate> |
13 | | - <pubDate>{{ site.time }}</pubDate> |
14 | | - <ttl>1800</ttl> |
| 12 | + <title>{{ site.title }}</title> |
| 13 | + <description>{{ site.title }} - {{ site.tagline }}</description> |
| 14 | + <link>{{ site.production_url }}{{ JB.rss_path }}</link> |
| 15 | + <link>{{ site.production_url }}</link> |
| 16 | + <language>en-gb</language> |
| 17 | + <lastBuildDate>{{ now | date_to_long_string }}</lastBuildDate> |
| 18 | + <pubDate>{{ time }}</pubDate> |
| 19 | + <ttl>1800</ttl> |
| 20 | + <image> |
| 21 | + <url>{{ ASSET_PATH }}/images/social-banner.jpg</url> |
| 22 | + <title>{{ site.title }}</title> |
| 23 | + <link>{{ site.production_url }}</link> |
| 24 | + </image> |
15 | 25 |
|
16 | | -{% for post in site.posts %} |
17 | | - <item> |
18 | | - <title>{{ post.title }}</title> |
19 | | - <description>{{ post | excerpt }}</description> |
20 | | - <link>{{ site.production_url }}{{ post.url }}</link> |
21 | | - <guid>{{ site.production_url }}{{ post.id }}</guid> |
22 | | - <pubDate>{{ post.date }}</pubDate> |
23 | | - </item> |
| 26 | +{% assign posts = collections.all | reverse | with_explicit_date %} |
| 27 | +{% for post in posts %} |
| 28 | + <item> |
| 29 | + <title>{{ post.title }}</title> |
| 30 | + <description>{{ post | excerpt | strip_html }}</description> |
| 31 | + <link>{{ site.production_url }}{{ post.url }}</link> |
| 32 | + <guid>{{ site.production_url }}{{ post.url }}</guid> |
| 33 | + <pubDate>{{ post.date }}</pubDate> |
| 34 | + </item> |
24 | 35 | {% endfor %} |
25 | 36 |
|
26 | 37 | </channel> |
|
0 commit comments