From d5a16cbd47a519abdf14a8bc0d41ce6227094a90 Mon Sep 17 00:00:00 2001 From: Cassey Lottman Date: Tue, 4 Jun 2019 11:48:38 -0500 Subject: [PATCH] use tagList with full filter instead of just excluding posts --- _includes/postslist.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/postslist.njk b/_includes/postslist.njk index 7eb213e..b9517f4 100644 --- a/_includes/postslist.njk +++ b/_includes/postslist.njk @@ -4,7 +4,7 @@ {% if post.data.title %}{{ post.data.title }}{% else %}{{ post.url }}{% endif %} {% for tag in post.data.tags %} - {%- if tag != "posts" -%} + {%- if collections.tagList.indexOf(tag) != -1 -%} {% set tagUrl %}/tags/{{ tag }}/{% endset %} {{ tag }} {%- endif -%}