nomnom/layouts/index.html

18 lines
352 B
HTML
Raw Permalink Normal View History

{{ define "pagename" }}
{{ end }}
{{ define "main" }}
{{ .Content }}
2019-08-04 17:11:50 +02:00
{{ range where .Sections "Type" "==" "recettes" }}
<h2 class="homepagecat">{{ .Title }}</h2>
{{ partial "recipelist.html" . }}
{{ end }}
2019-08-04 17:11:50 +02:00
{{ range where .Sections "Type" "==" "posts" }}
<h2 class="homepagecat">{{ .Title }}</h2>
{{ partial "postlist.html" . }}
{{ end }}
{{ end }}