Check for isArticle conditional instead of article tags for content nav

This commit is contained in:
Helen Chong 2024-04-19 06:37:39 +08:00
parent 5315e455d8
commit f731082884
1 changed files with 1 additions and 1 deletions

View File

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