From c7a5521ff241bc312eb40251386ed0023b8db481 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 19 Apr 2024 18:04:23 +0800 Subject: [PATCH] Make content navigation only show up on the main articles page --- src/_includes/global/content.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_includes/global/content.njk b/src/_includes/global/content.njk index b614569e..143f31dd 100644 --- a/src/_includes/global/content.njk +++ b/src/_includes/global/content.njk @@ -48,7 +48,7 @@ {% endif %} - {% if tags and tags.includes("contents") or title === "Articles" or tags and tags.includes("blog pages") %} + {% if tags and tags.includes("contents") or page.url === "/articles/" or tags and tags.includes("blog pages") %} {% include "main/content-nav.njk" %} {% endif %}