nomnom/layouts/partials/season_badge.html

7 lines
248 B
HTML
Raw Permalink Normal View History

2020-08-27 13:21:23 +02:00
<span class="badge badge-season badge-season-{{ . }}"
title="{{ partial "humanize_season.html" . }}">
{{- if . | eq "summer" -}}✿
{{- else if . | eq "winter" -}}<i class="fa fa-snowflake-o" aria-hidden="true"></i>
{{- end -}}
</span>