{{ define "pagename" }}
{{ end }}

{{ define "main" }}
{{ .Content }}

{{ range where .Sections "Type" "==" "recettes" }}
<h2 class="homepagecat">{{ .Title }}</h2>
{{ partial "recipelist.html" . }}
{{ end }}

{{ range where .Sections "Type" "==" "posts" }}
<h2 class="homepagecat">{{ .Title }}</h2>
{{ partial "postlist.html" . }}
{{ end }}

{{ end }}
