nomnom/layouts/partials/recipelist.html

11 lines
221 B
HTML

{{ range where .Sections "Type" "==" "recettes" }}
{{ range .Sections }}
<h2 class="recipecat">{{ .Title }}</h2>
<ul>
{{ range .Pages }}
{{ partial "recipe_list_entry.html" . }}
{{ end }}
</ul>
{{ end }}
{{ end }}