#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>
|
||||
{{ range . }}
|
||||
<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 -}}
|
||||
{{ with .Page }}
|
||||
{{ partial "docs/title" .Page }}
|
||||
|
|
Loading…
Reference in a new issue