forked from drowl87/hextra_mirror
fix: pass in the right page link
This commit is contained in:
parent
a4bfa2d97e
commit
0da6f97e99
@ -13,7 +13,7 @@
|
|||||||
<li class="hextra-sidebar-item hx-flex hx-flex-col {{ if $shouldOpen }}open{{ end }}">
|
<li class="hextra-sidebar-item hx-flex hx-flex-col {{ if $shouldOpen }}open{{ end }}">
|
||||||
{{- partial "components/sidebar/item-link" (dict "active" $active "title" .title "link" .link "items" .items) -}}
|
{{- partial "components/sidebar/item-link" (dict "active" $active "title" .title "link" .link "items" .items) -}}
|
||||||
{{- if .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 -}}
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user