This commit is contained in:
onomanapeia 2024-11-15 17:15:13 -06:00
parent 6789d91778
commit f7fa7231da

View file

@ -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' %}