mirror of
https://github.com/imfing/hextra.git
synced 2025-07-13 15:21:30 -04:00
fix: class name in render-data
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
{{- $containsPage := hasPrefix $pageLink .link -}}
|
||||
{{- $shouldOpen := or (.open) $containsPage $active | default false -}}
|
||||
|
||||
<li class="sidebar-item-list {{ if $shouldOpen }}open{{ end }}">
|
||||
<li class="hextra-sidebar-item {{ if $shouldOpen }}open{{ end }}">
|
||||
{{- 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" $pageLink "cached" $cached) -}}
|
||||
|
Reference in New Issue
Block a user