@@ -4,35 +4,32 @@ permalink: /rss.xml
44theme:
55 name: orionrobots
66---
7- {% capture BASE_PATH %}{{ site .production_url }}{% endcapture %}
8- {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ theme .name }}{% endcapture %}
7+ {%- capture BASE_PATH %}{{ site .production_url }}{% endcapture - %}
8+ {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ theme .name }}{% endcapture - %}
99<?xml version =" 1.0" encoding =" UTF-8" ?>
1010<rss version =" 2.0" >
1111<channel >
1212 <title >{{ site .title }}</title >
1313 <description >{{ site .title }} - {{ site .tagline }}</description >
14- <link >{{ site .production_url }}{{ JB .rss_path }}</link >
1514 <link >{{ site .production_url }}</link >
1615 <language >en-gb</language >
17- <lastBuildDate >{{ now | date_to_long_string }}</lastBuildDate >
18- <pubDate >{{ time }}</pubDate >
16+ <lastBuildDate >{{ now | to_utc_string }}</lastBuildDate >
17+ <pubDate >{{ now | to_utc_string }}</pubDate >
1918 <ttl >1800</ttl >
2019 <image >
2120 <url >{{ ASSET_PATH }}/images/social-banner.jpg</url >
2221 <title >{{ site .title }}</title >
2322 <link >{{ site .production_url }}</link >
2423 </image >
25-
26- {% assign posts = collections .all | reverse | with_explicit_date %}
27- {% for post in posts %}
24+ {%- assign posts = collections .all | reverse | with_explicit_date -%}
25+ {%- for post in posts -%}
2826 <item >
29- <title >{{ post .title }}</title >
27+ <title >{{ post .data . title }}</title >
3028 <description >{{ post | excerpt | strip_html }}</description >
3129 <link >{{ site .production_url }}{{ post .url }}</link >
3230 <guid >{{ site .production_url }}{{ post .url }}</guid >
33- <pubDate >{{ post .date }}</pubDate >
31+ <pubDate >{{ post .date | to_utc_string }}</pubDate >
3432 </item >
35- {% endfor %}
36-
33+ {%- endfor -%}
3734</channel >
3835</rss >
0 commit comments