From e4393a1b48b5eb7720da4108b05b7a17c15f37b3 Mon Sep 17 00:00:00 2001 From: Leilukin Date: Fri, 19 Apr 2024 23:56:22 +0800 Subject: [PATCH] Add hasBreadcrumbs variable to allow non-article content to add breadcrumbs --- src/_includes/global/content.njk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/_includes/global/content.njk b/src/_includes/global/content.njk index 26543c4d..b5748175 100644 --- a/src/_includes/global/content.njk +++ b/src/_includes/global/content.njk @@ -1,5 +1,5 @@
- {% if isArticle %} + {% if isArticle or hasBreadcrumbs %} + {% endif %} + {% if isArticle %}

{{ articleTitle }}