menu: write correct local shortcut links #112

This commit is contained in:
Sören Weber 2021-10-08 18:14:10 +02:00
parent fdd5ff7ab8
commit 293c2eab8e
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -40,7 +40,7 @@
<div class="nav-title">{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}</div>
<ul>
{{- range sort . "Weight" }}
<li>{{ .Pre }}<a class="padding" href="{{ .URL | absLangURL }}">{{ safeHTML .Name }}</a>{{ .Post }}</li>
<li>{{ .Pre }}<a class="padding" href="{{ .URL | relLangURL }}">{{ safeHTML .Name }}</a>{{ .Post }}</li>
{{- end }}
</ul>
</div>