Skip to content

Commit 09aba49

Browse files
committed
header: rm class attributes [WIP]
from hugov0.79.0
1 parent bf79c20 commit 09aba49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
{{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }}
113113
{{- $page_url:= $currentPage.Permalink | absLangURL }}
114114
<li>
115-
<a href="{{ .URL | absLangURL }}" title="{{ .Title | default .Name }}" class="{{ with .Params.class }}{{ . }}{{ end }}">
115+
<a href="{{ .URL | absLangURL }}" title="{{ .Title | default .Name }}">
116116
<span {{- if eq $menu_item_url $page_url }} class="active" {{- end }}>
117117
{{ .Name }}
118118
</span>

0 commit comments

Comments
 (0)