From fed0de6c7a2c1d17916641463173ec17c4bdb2b5 Mon Sep 17 00:00:00 2001 From: Leilukin Date: Fri, 19 Apr 2024 23:50:12 +0800 Subject: [PATCH] Allow non-article pages to add breadcrumbs --- src/_includes/global/content.njk | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/_includes/global/content.njk b/src/_includes/global/content.njk index a029d8ea..4deeb243 100644 --- a/src/_includes/global/content.njk +++ b/src/_includes/global/content.njk @@ -1,17 +1,18 @@
- {% if isArticle %} - {% if eleventyNavigation %} - - {% endif %} + {% if eleventyNavigation %} + + {% endif %} + + {% if isArticle %}

{{ articleTitle }}