From a70083fb23ad51dde285d55b6792beab4021fc89 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 2 Mar 2025 11:14:24 +0800 Subject: Recursive navigation --- layouts/_default/baseof.html | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3fbc126..c6e0e3b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,27 +12,7 @@

{{ .Site.Title }}

- {{ $currentPage := . }} - + {{ partial "recursive_nav.html" (dict "currentPage" . "pages" .Site.Sections) }}