From 8bd4a90a29c07cb948b1dd294ac61691c431eceb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 2 Mar 2025 11:52:44 +0800 Subject: Don't require current or ancestor to navigate --- layouts/partials/recursive_nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/recursive_nav.html b/layouts/partials/recursive_nav.html index 4a3ed2c..763c3b6 100644 --- a/layouts/partials/recursive_nav.html +++ b/layouts/partials/recursive_nav.html @@ -5,7 +5,7 @@
  • {{ .Title }}
  • - {{ if and .Pages $isCurrentOrAncestor }} + {{ if .Pages }} {{ partial "recursive_nav.html" (dict "currentPage" $currentPage "pages" .Pages) }} {{ end }} {{ end }} -- cgit v1.2.3