From 610180491c3639c9438c7913098ed8b550c8d854 Mon Sep 17 00:00:00 2001 From: dvdherron Date: Fri, 24 Nov 2023 16:42:55 +0100 Subject: [PATCH 1/2] make highlighted post types plural --- content/tags/index.njk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/tags/index.njk b/content/tags/index.njk index 004853115..1fed3b7f6 100644 --- a/content/tags/index.njk +++ b/content/tags/index.njk @@ -21,7 +21,11 @@ summary: | {% macro show(item, collections) %}
{%- set item_title -%} + {% if item.type and not (item.tag == 'Winging It') %} + {{- item.type.plural -}} + {%- else -%} {{- item.tag -}} + {% endif %} tag {%- endset -%} From 546033a9f4646aaf1356701fc02df7e68d5c6488 Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Mon, 27 Nov 2023 12:35:11 -0500 Subject: [PATCH 2/2] strip whitespace --- content/tags/index.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/tags/index.njk b/content/tags/index.njk index 1fed3b7f6..a48ea1bc9 100644 --- a/content/tags/index.njk +++ b/content/tags/index.njk @@ -21,11 +21,11 @@ summary: | {% macro show(item, collections) %}
{%- set item_title -%} - {% if item.type and not (item.tag == 'Winging It') %} + {%- if item.type and not (item.tag == 'Winging It') -%} {{- item.type.plural -}} {%- else -%} {{- item.tag -}} - {% endif %} + {%- endif -%} tag {%- endset -%}