This commit is contained in:
onomanapeia 2024-11-15 17:19:04 -06:00
parent f7fa7231da
commit a835107bdf

View file

@ -9,11 +9,9 @@ layout: none
<link>{{ site.url }}</link>
<!-- 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 updates_posts = site.collections['updates'].docs | default: [] %}
{% assign all_posts = site.posts | merge: updates_posts %}
{% assign sorted_posts = all_posts | sort: 'date' %}
{% for post in sorted_posts %}
@ -29,5 +27,4 @@ layout: none
{% endunless %}
{% endfor %}
</channel>
</rss>
</rss>
</rss>