improve sidebar translation
This commit is contained in:
parent
3cf6018c1f
commit
fd4693050a
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
|||
<ul>
|
||||
{{- range .Site.Menus.main }}
|
||||
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
|
||||
<li class="active"><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
<li class="active"><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></li>
|
||||
{{ else }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
<li><a href="{{ .URL }}">{{ i18n .Identifier | default .Name }}</a></li>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue