Fixed ordering menu by weight

This commit is contained in:
rac2030 2017-03-02 00:26:24 +01:00
parent f36c1a1763
commit 5ebb44c104

View file

@ -16,7 +16,7 @@
</div> </div>
<nav> <nav>
<ul> <ul>
{{ range .Data.Pages }} {{ range .Data.Pages.ByWeight }}
<li><a href="#{{ .File.BaseFileName }}">{{ .Title }}</a></li> <li><a href="#{{ .File.BaseFileName }}">{{ .Title }}</a></li>
{{ end }} {{ end }}
</ul> </ul>