Add back missing tags check

This commit is contained in:
Helen Chong 2024-04-19 06:43:25 +08:00
parent f562940708
commit 54237f1632
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ layout: main/base
</div>
{% endif %}
{% if tags.includes("articles") or title === "Articles" or tags and tags.includes("blog pages") %}
{% if tags and tags.includes("articles") or title === "Articles" or tags and tags.includes("blog pages") %}
{% include "main/content-nav.njk" %}
{% endif %}
</div>