fix: icon sidebar menu
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0ad345832e
commit
72409f0c5a
|
@ -87,7 +87,7 @@ skipped. To override this behavior, set $skipHome to false below.
|
||||||
|
|
||||||
<li {{- with $liClass }} class="{{ . }}" {{ end -}}>
|
<li {{- with $liClass }} class="{{ . }}" {{ end -}}>
|
||||||
{{- with $node.Page.Pages }}
|
{{- 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>
|
<summary>
|
||||||
{{ if $node.Page.Params.icon }}{{- partial "inline-svg" $node.Page.Params.icon -}}{{ end }}
|
{{ if $node.Page.Params.icon }}{{- partial "inline-svg" $node.Page.Params.icon -}}{{ end }}
|
||||||
{{ $linkContent }}
|
{{ $linkContent }}
|
||||||
|
|
Loading…
Reference in New Issue