Skip to content

Commit

Permalink
#441, add menu.params.class support
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Nov 2, 2022
1 parent 9013a1f commit 1318a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/docs/menu-hugo.html
Expand Up @@ -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 }}
Expand Down

0 comments on commit 1318a71

Please sign in to comment.