From cf755a6ccd70ee54d388c1eedd49cad1c5c19a4f Mon Sep 17 00:00:00 2001 From: Vicky Teinaki Date: Sun, 28 Jul 2024 17:53:00 +0100 Subject: [PATCH] Add tags to conditionals for document header Couldn't get tags to show and realised it was because it's not declared in the setup. I think params.tags will work but it may also need to be params.tags | length > 0 --- components/document-header/template.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/document-header/template.njk b/components/document-header/template.njk index 59ae9d65..8408b501 100644 --- a/components/document-header/template.njk +++ b/components/document-header/template.njk @@ -16,7 +16,7 @@

{% endif %} - {% if params.date or params.modified or params.authors or params.author %} + {% if params.date or params.modified or params.authors or params.author or params.tags %}

{%- if params.authors -%} Posted by