nomnom/layouts/recettes/single.html

37 lines
868 B
HTML

{{ define "title" }}
{{- $.Site.Title }} — {{ .Page.Title -}}
{{ end }}
{{ define "ingredients" }}
{{ partial "ingredients.html" . }}
{{ end }}
{{ define "pagename" }}
<div class="pagenamerow">
{{ partial "pagetitle.html" . }}
<div class="headbadges">
{{ with .Params.veganness }}
<div class="headbadge headbadge-veganness headbadge-veganness-{{ . }}">
{{ partial "humanize_veganness.html" . }}
</div>
{{ end }}
{{ with .Params.season }}
<div class="headbadge headbadge-season headbadge-season-{{ . }}">
{{ partial "humanize_season.html" . }}
</div>
{{ end }}
{{ with .Params.quality }}{{ if . }}
<div class="headbadge headbadge-quality">
Bien rodée
</div>
{{ end }}{{ end }}
</div>
</div>
{{ end }}
{{ define "main" }}
{{ .Content }}
{{ end }}