From 91c6bbeff64c5c03628baf7e9bdd70b427467f91 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Tue, 12 Apr 2016 02:07:54 -0400 Subject: [PATCH] Add logic for printing site update above categories. --- index.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 89d0cc0..b37eaaa 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,16 @@ layout: default ---
+ {% assign last_meta = site.categories.meta.first %} + {% if last_meta.active %} +
+ Site Update: + + {{ last_meta.title }} + +
+ {% endif %} + {% for category in site.categories %} {% if category.first == "meta" %} {% continue %} {% endif %}
@@ -11,8 +21,4 @@ layout: default {% include category_list.html category=category.first limit=5 %}
{% endfor %} - -
- -