From d8be4eb58c5086b6d39ce749de532afeed4553d2 Mon Sep 17 00:00:00 2001 From: c v t Date: Sun, 6 Oct 2019 15:43:05 +0100 Subject: [PATCH] Ensure CAAT post shows up on home-page.. ..by displaying posts in both "howto" and "values" categories. Sorted by date. --- src/_includes/blog.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/_includes/blog.html b/src/_includes/blog.html index 2e28371..b784bcd 100644 --- a/src/_includes/blog.html +++ b/src/_includes/blog.html @@ -1,15 +1,14 @@
+ {% assign posts = site.categories.values | concat: site.categories.howto | sort:"date" | reverse %} - {% for post in site.categories.values %} - -
-
{% if post.image %}{% endif %}
-
-

{{ post.title }}

-

{{ post.date | date: '%B %d, %Y' }}

-

{{ post.description }}

-
-
+ {% for post in posts %} +
+
{% if post.image %}{% endif %}
+
+

{{ post.title }}

+

{{ post.date | date: '%B %d, %Y' }}

+

{{ post.description }}

+
+
{% endfor %} -