Skip to content
Snippets Groups Projects
Commit 1318a717 authored by Alex Shpak's avatar Alex Shpak
Browse files

#441, add menu.params.class support

parent 9013a1f4
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment