rss fix
This commit is contained in:
parent
6789d91778
commit
f7fa7231da
1 changed files with 6 additions and 2 deletions
8
atom.xml
8
atom.xml
|
@ -8,7 +8,11 @@ layout: none
|
||||||
<description>site updates and blog posts by mana</description>
|
<description>site updates and blog posts by mana</description>
|
||||||
<link>{{ site.url }}</link>
|
<link>{{ site.url }}</link>
|
||||||
|
|
||||||
{% assign updates_posts = site.collections.updates.docs | default: [] %}
|
<!-- Combine blog posts and updates -->
|
||||||
|
{% assign updates_posts = site.collections.updates.docs %}
|
||||||
|
{% if updates_posts == nil %}
|
||||||
|
{% assign updates_posts = [] %}
|
||||||
|
{% endif %}
|
||||||
{% assign all_posts = site.posts | concat: updates_posts %}
|
{% assign all_posts = site.posts | concat: updates_posts %}
|
||||||
{% assign sorted_posts = all_posts | sort: 'date' %}
|
{% assign sorted_posts = all_posts | sort: 'date' %}
|
||||||
|
|
||||||
|
@ -26,4 +30,4 @@ layout: none
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
Loading…
Add table
Reference in a new issue