From 7601d76816c41412e22faf35fd55f669177e87a8 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Wed, 19 Aug 2015 16:25:47 -0400 Subject: [PATCH] smart license list filtering --- _includes/license-overview.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/_includes/license-overview.html b/_includes/license-overview.html index 9a00d6e..32c0b9f 100644 --- a/_includes/license-overview.html +++ b/_includes/license-overview.html @@ -14,8 +14,8 @@ {% if license.tab-slug %} {% endif %} - {% for variation in site.licenses %} - {% if variation.category and variation.category == license.category %} + {% assign variations = site.licenses | where:"hidden",false | where:"category",license.category %} + {% for variation in variations %}
@@ -59,7 +58,6 @@

View full {{ variation.title }} license ยป

- {% endif %} {% endfor %}