From 0da6f97e99e33fa9330c4845e848fb34374df9a3 Mon Sep 17 00:00:00 2001 From: Xin Date: Tue, 30 Apr 2024 23:03:09 +0100 Subject: [PATCH] fix: pass in the right page link --- layouts/partials/components/sidebar/render-items.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/components/sidebar/render-items.html b/layouts/partials/components/sidebar/render-items.html index d34866f..b43f5ce 100644 --- a/layouts/partials/components/sidebar/render-items.html +++ b/layouts/partials/components/sidebar/render-items.html @@ -13,7 +13,7 @@
  • {{- partial "components/sidebar/item-link" (dict "active" $active "title" .title "link" .link "items" .items) -}} {{- if .items -}} - {{- partial "components/sidebar/render-items" (dict "items" .items "link" .link "cached" $cached) -}} + {{- partial "components/sidebar/render-items" (dict "items" .items "link" $pageLink "cached" $cached) -}} {{- end -}}
  • {{- end -}}