#441, add menu.params.class support
This commit is contained in:
parent
9013a1f457
commit
1318a717ed
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .URL }}" {{ if not .Page }}target="_blank" rel="noopener"{{ end }}>
|
<a href="{{ .URL }}" {{ with .Params.class }}class="{{ . }}"{{ end }} {{ if not .Page }}target="_blank" rel="noopener"{{ end }}>
|
||||||
{{- .Pre -}}
|
{{- .Pre -}}
|
||||||
{{ with .Page }}
|
{{ with .Page }}
|
||||||
{{ partial "docs/title" .Page }}
|
{{ partial "docs/title" .Page }}
|
||||||
|
|
Loading…
Reference in a new issue