File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "editor.formatOnSave" : false
3
+ }
Original file line number Diff line number Diff line change @@ -9,17 +9,19 @@ layout: none
9
9
<link >{{ site.url }}{{ site.baseurl }}/</link >
10
10
<atom : link href =" {{ " /rss/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel =" self" type =" application/rss+xml" />
11
11
{% for reg in site.collections %}
12
- {% assign name = reg.label %}
13
- {% for value in reg.posts %}
14
- <item >
15
- <title >{{ value.slug | xml_escape }}</title >
16
- <description >{{ value.description | xml_escape }}</description >
17
- <category >{{ reg.label }}</category >
18
- <pubDate >{% if value.date %}{{ value.date | date: "%a, %d %b %Y %H:%M:%S %z" }}{% else %}{{ 'now' | date: "%a, %d %b %Y %H:%M:%S %z" }}{% endif %}</pubDate >
19
- <link >{{ value.url }}</link >
20
- <guid isPermaLink =" true" >{{ value.url }}</guid >
21
- </item >
22
- {% endfor %}
12
+ {% if reg.output %}
13
+ {% assign name = reg.label %}
14
+ {% for value in reg.docs %}
15
+ <item >
16
+ <title >{{ value.slug | xml_escape }}</title >
17
+ <description >{{ value.description | xml_escape }}</description >
18
+ <category >{{ reg.label }}</category >
19
+ <link >{{ value.url }}</link >
20
+ <guid isPermaLink =" true" >{{ value.url }}</guid >
21
+ <pubDate >{% if value.date %}{{ value.date | date: "%a, %d %b %Y %H:%M:%S %z" }}{% else %}{{ 'now' | date: "%a, %d %b %Y %H:%M:%S %z" }}{% endif %}</pubDate >
22
+ </item >
23
+ {% endfor %}
24
+ {% endif %}
23
25
{% endfor %}
24
26
</channel >
25
27
</rss >
You can’t perform that action at this time.
0 commit comments