{{ define "main" }}
{{ with index .Site.Lists .Collection }}

{{ .Title }}

{{ end }}

{{ .Title }}

{{ with .Summary }}

{{ . }}

{{ end }} {{ with .Params.photo }}{{ $.Params.photo_alt }}{{ end }} {{ $prep := default 0 .Params.prep_minutes }}{{ $cook := default 0 .Params.cook_minutes }}
{{ if gt $prep 0 }}
Prep
{{ $prep }} min
{{ end }} {{ if gt $cook 0 }}
Cook
{{ $cook }} min
{{ end }} {{ if and (gt $prep 0) (gt $cook 0) }}
Total
{{ add $prep $cook }} min
{{ end }} {{ with .Params.servings }}
Makes
{{ . }}
{{ end }}
{{ with .Params.ingredients }}

Ingredients

    {{ range . }}
  • {{ . }}
  • {{ end }}
{{ end }} {{ with .Params.steps }}

Method

    {{ range . }}
  1. {{ . }}
  2. {{ end }}
{{ end }}
{{ with .Content }}
{{ . }}
{{ end }}
{{ end }}