{{ .Title }}

{{.Content}}
{{ with .Params.yield }}

{{ i18n "yields" . }}

{{ end }} {{ with .Params.prepTime }}

{{ i18n "prepTime" . }}

{{ end }} {{ with .Params.cookTime }}

{{ i18n "cookTime" . }}

{{ end }}
{{ with .Params.Components}}

{{ i18n "components" }}

    {{ range . }}
  • {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
  • {{ end }}
{{ end }} {{ with .Params.Ingredients }}

{{ i18n "ingredients" }}

    {{ range . }}
  • {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
  • {{ end }}
{{ end }}

{{ i18n "directions" }}

    {{ range .Params.Directions }}
  • {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
  • {{ end }}
{{ with .Params.Components }}
↓ {{ i18n "this-is-a" }} {{ i18n "component-based-recipe" }} ({{ i18n "fancy-talk" }}). ↓
{{ range . }} {{ $compTitle := . }}
{{ range where $.Site.Pages "Title" $compTitle }}

{{ .Title }}

{{ range (.Resources.ByType "image") }}
{{ end }} {{ if .Params.Imagecredit }} camera icon {{ end }}

{{ i18n "ingredients" }}

    {{ range .Params.Ingredients }}
  • {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
  • {{ end }}

{{ i18n "steps" }}

    {{ range .Params.Directions }}
  • {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
  • {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }} {{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }} {{ with .Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
{{ if (or .Params.SourceName .Params.AuthorName) }} {{ i18n "inspired" }} {{ end }} {{ with .Params.SourceName }} {{$name := .}} {{ i18n "by" }} {{with $.Params.SourceURL }} {{$name}} {{else}} {{$name}} {{end}} {{ end }} {{with .Params.AuthorName}} {{$name := .}} {{ i18n "from" }} {{with $.Params.AuthorURL }} {{$name}} {{else}} {{$name}} {{end}} {{end}}