nomnom/layouts/partials/recipe_list_entry.html

17 lines
394 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.quality }}
{{- partial "quality_badge.html" . -}}
{{ end }}
</span>
</a>
</li>