fix: icon sidebar menu
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user