2019-05-11 21:54:00 +02:00
|
|
|
{{ define "title" }}
|
|
|
|
{{- $.Site.Title }} — {{ .Page.Title -}}
|
|
|
|
{{ end }}
|
|
|
|
|
2019-05-11 19:28:17 +02:00
|
|
|
{{ 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 }}
|
2020-08-27 13:21:23 +02:00
|
|
|
|
|
|
|
{{ with .Params.quality }}{{ if . }}
|
|
|
|
<div class="headbadge headbadge-quality">
|
|
|
|
Bien rodée
|
|
|
|
</div>
|
|
|
|
{{ end }}{{ end }}
|
2019-05-11 19:28:17 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-01-30 21:28:00 +01:00
|
|
|
|
|
|
|
{{ with .Params.source }}
|
|
|
|
<div class="source">
|
|
|
|
{{ partial "source" . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2019-05-11 19:28:17 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|
2021-01-10 18:17:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
{{ define "photo" }}{{ with .Params.photo }}{{ if . }}
|
|
|
|
<a
|
|
|
|
href="/img/photo/{{ . }}.orig.jpg"
|
|
|
|
title="Photo en plus grand"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="Photo de la recette"
|
|
|
|
src="/img/photo/{{ . }}.min.jpg"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
{{ end }}{{ end }}{{ end }}
|