From f7310828842ba5a2070164c5a994e733f578345a Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 19 Apr 2024 06:37:39 +0800 Subject: [PATCH] Check for isArticle conditional instead of article tags for content nav --- src/_includes/main/content.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_includes/main/content.njk b/src/_includes/main/content.njk index 37e93027..af35b99b 100644 --- a/src/_includes/main/content.njk +++ b/src/_includes/main/content.njk @@ -24,7 +24,7 @@ layout: main/base {% 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 %} \ No newline at end of file