fix: icon sidebar menu
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2024-03-12 10:58:00 +01:00
parent 0ad345832e
commit 72409f0c5a
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ skipped. To override this behavior, set $skipHome to false below.
<li {{- with $liClass }} class="{{ . }}" {{ end -}}>
{{- with $node.Page.Pages }}
<details{{- with $ariaCurrent }} open{{- end }}{{- if ne $node.Page.Params.sidebar.collapsed true }} open{{- end }}>
<details{{- with $ariaCurrent }} open{{- end }}{{- if ne $node.Page.Params.sidebar.collapsed true }} open{{- end }}{{ if $node.Page.Params.icon }} class="with-icon"{{ end }}>
<summary>
{{ if $node.Page.Params.icon }}{{- partial "inline-svg" $node.Page.Params.icon -}}{{ end }}
{{ $linkContent }}