{{/* One recipe in a grid: its photo, title and total time. */}}
  • {{ with .Params.photo }}{{ $.Params.photo_alt }}{{ else }}{{ end }} {{ .Title }} {{ $t := add (default 0 .Params.prep_minutes) (default 0 .Params.cook_minutes) }}{{ if gt $t 0 }}{{ $t }} minutes{{ end }}