nomnom/layouts/partials/recipe_list_entry.html

19 lines
503 B
HTML
Raw Normal View History

<li>
<a href="{{ .Permalink }}">
{{ .Title }}
<span class="badges">
{{ with .Params.veganness }}
<span class="badge badge-veganness badge-veganness-{{ . }}">v</span>
{{ end }}
{{ with .Params.season }}
<span class="badge badge-season badge-season-{{ . }}">
{{- if . | eq "summer" -}}✿
{{- else if . | eq "winter" -}}<i class="fa fa-snowflake-o" aria-hidden="true"></i>
{{- end -}}
</span>
{{ end }}
</span>
</a>
</li>