nomnom/layouts/partials/recipe_list_entry.html

20 lines
486 B
HTML

<li>
<a href="{{ .Permalink }}">
{{ .Title }}
<span class="badges">
{{ with .Params.veganness }}
{{- partial "veganness_badge.html" . -}}
{{ end }}
{{ with .Params.season }}
{{- partial "season_badge.html" . -}}
{{ end }}
{{ with .Params.photo }}
{{- partial "photo_badge.html" . -}}
{{ end }}
{{ with .Params.quality }}
{{- partial "quality_badge.html" . -}}
{{ end }}
</span>
</a>
</li>