{{ .Title }}
Chef:
{{if .Params.authorurl }}
{{.Params.AuthorName}}
{{else}}
{{.Params.AuthorName}}
{{end}}
{{ with .Params.Category }}{{ partial "taxonomy/category" . }}{{ end }}
{{ with .Params.Cuisine }}{{ partial "taxonomy/cuisine" . }}{{ end }}
{{ with .Params.yield }}
{{ end }}
{{ with .Params.prepTime }}
{{ end }}
{{ with .Params.cookTime }}
{{ end }}
{{ i18n "yields" . }}
{{ i18n "prepTime" . }}
{{ i18n "cookTime" . }}
{{ with .Params.Components}}
{{ i18n "components" }}
-
{{ range . }}
- {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }} {{ end }}
{{ i18n "ingredients" }}
-
{{ range . }}
- {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }} {{ end }}
{{ i18n "directions" }}
-
{{ range .Params.Directions }}
- {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }} {{ end }}
{{.Content}}
↓ {{ i18n "this-is-a" }} {{ i18n "component-based-recipe" }} ({{ i18n "fancy-talk" }}). ↓
{{ range . }}
{{ $compTitle := . }}
{{ end }}
{{ range where $.Site.Pages "Title" $compTitle }}
{{ end }}
{{ if .Params.Imagecredit }}
{{ end }}
{{ end }}
{{ .Title }}
{{ range (.Resources.ByType "image") }}{{ 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 }}
{{ if .Params.inspiration }}
Inspiration & Resources
{{ range .Params.inspiration }}-
{{ if .url }}
- {{ .title }} {{ else }}
- {{ .title }} {{ end }}