nomnom/layouts/partials/ingredients.html

18 lines
430 B
HTML
Raw Permalink Normal View History

<div class="outer_ingredients">
<div id="ingredients">
<div class="ingred-title">Ingrédients</div>
2019-05-13 13:43:42 +02:00
{{ with .Params.portions -}}
<div class="ingred-portions">
2019-05-16 16:04:19 +02:00
pour {{ .qt | markdownify }}
{{- with .name }} {{ . | markdownify }}
2019-05-13 13:43:42 +02:00
{{- else }} portions{{ end -}}
</div>
{{- end }}
{{ with $.Param "ingredients" -}}
{{ partial "ingredients_ul.html" . }}
{{- end }}
</div>
</div>