{{ define "head" }} {{- end }} {{ define "main" }}

{{ .Title }}

{{- range .Params.tags }} #{{ . }} {{- end }} {{- if .Draft }}
draft
This recipe is still a draft. It has most likely been shared with you for reviewing purposes, but neither the instructions nor the ingredients have been properly checked yet. Do not make this recipe unless you are an experienced cook, and please do not yet share it with other people.
{{- end }}
{{ .Content }}
Preparation time {{ .Params.preptime }} minutes
Cooking time {{ .Params.cooktime }} minutes
Serves {{ .Params.serves }}

Ingredients

{{- range $i, $ingredient := .Params.ingredients }} {{- if .unit }} {{- else }} {{- end }} {{- end }}
  Ingredient Amount Unit
{{- if .links }} {{- range .links }} {{- end }} {{- end }} {{ .amount }} {{ $ingredient.unit }}{{ $ingredient.amount }}

Instructions

{{- range $i, $stage := .Params.stages }}

{{ $stage.label }}

    {{- range $j, $step := $stage.steps }}
  1. {{- end }}
{{- end }}
{{ end }}