Fix the menu sort

This commit is contained in:
Gregory Trolliet 2019-09-22 13:55:57 +02:00
parent 18fd729044
commit ff383dc8dd
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<label class="menu-button float-right" for="menu-toggle"><i class="fas fa-bars"></i></label>
<ul class="navigation-list">
{{ with .Site.Menus.main}}
{{ range sort . }}
{{ range sort . "Weight" }}
<li class="navigation-item">
<a class="navigation-link" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
</li>