fix: remove spaces
This commit is contained in:
parent
790991e898
commit
acd95ec168
|
@ -20,7 +20,6 @@
|
||||||
<div class="ml:auto">
|
<div class="ml:auto">
|
||||||
{{ $currentPage := . }}
|
{{ $currentPage := . }}
|
||||||
{{ $active := "" }}
|
{{ $active := "" }}
|
||||||
|
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
|
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
|
||||||
{{ $active = "active" }}
|
{{ $active = "active" }}
|
||||||
|
@ -34,7 +33,7 @@
|
||||||
transition:150ms;ease-in
|
transition:150ms;ease-in
|
||||||
{{ $active }}
|
{{ $active }}
|
||||||
" href="{{ .URL }}" title="{{ .Title }}">
|
" href="{{ .URL }}" title="{{ .Title }}">
|
||||||
{{ .Name }}
|
{{- .Name -}}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue