fix: remove spaces

This commit is contained in:
SerKo 2022-04-12 21:20:05 +08:00
parent 790991e898
commit acd95ec168
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@
<div class="ml:auto">
{{ $currentPage := . }}
{{ $active := "" }}
{{ range .Site.Menus.main }}
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
{{ $active = "active" }}
@ -34,7 +33,7 @@
transition:150ms;ease-in
{{ $active }}
" href="{{ .URL }}" title="{{ .Title }}">
{{ .Name }}
{{- .Name -}}
</a>
{{ end }}
</div>