Skip to content

Commit

Permalink
Add tags to conditionals for document header
Browse files Browse the repository at this point in the history
Couldn’t get tags to show and realised it was because it’s not declared in the setup.
  • Loading branch information
vickytnz authored and paulrobertlloyd committed Aug 1, 2024
1 parent ec6a735 commit 580b403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/document-header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>
{% 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 %}
<p class="app-document-header__metadata">
{%- if params.authors -%}
<span class="govuk-visually-hidden">Posted by</span>
Expand Down

0 comments on commit 580b403

Please sign in to comment.