nomnom/layouts/partials/recipe_list_entry.html

21 lines
486 B
HTML
Raw Normal View History

<li>
<a href="{{ .Permalink }}">
{{ .Title }}
<span class="badges">
{{ with .Params.veganness }}
2020-08-27 13:21:23 +02:00
{{- partial "veganness_badge.html" . -}}
{{ end }}
{{ with .Params.season }}
2020-08-27 13:21:23 +02:00
{{- partial "season_badge.html" . -}}
{{ end }}
{{ with .Params.quality }}
{{- partial "quality_badge.html" . -}}
{{ end }}
2021-01-10 18:17:55 +01:00
{{ with .Params.photo }}
{{- partial "photo_badge.html" . -}}
{{ end }}
</span>
</a>
</li>