Sort recipes by alphabetical order (homepage)
This commit is contained in:
parent
2a0c32fe8f
commit
c694527407
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
{{ range where .Sections "Type" "==" "recettes" }}
|
{{ range where .Sections "Type" "==" "recettes" }}
|
||||||
{{ range .Sections }}
|
{{ range sort .Sections "Title" }}
|
||||||
<h2 class="recipecat">{{ .Title }}</h2>
|
<h2 class="recipecat">{{ .Title }}</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Pages }}
|
{{ range sort .Pages "Title" }}
|
||||||
{{ partial "recipe_list_entry.html" . }}
|
{{ partial "recipe_list_entry.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue