Add back missing tags check

This commit is contained in:
Leilukin 2024-04-19 06:43:25 +08:00 committed by Helen Chong
parent 6d5c60cc65
commit bf9d06d069

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>