mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-16 21:28:31 -04:00
sort resources Sections by weight
This commit is contained in:
parent
a57fed00ca
commit
70e8d8b85b
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
{{ range .Sections.Reverse }}
|
||||
{{ range .Sections.ByWeight }}
|
||||
{{- partial "posts.html" . -}}
|
||||
<br>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue