Add title
on inline badges
This commit is contained in:
parent
b158a2f6fc
commit
05fbc9d8fb
1 changed files with 8 additions and 2 deletions
|
@ -3,10 +3,16 @@
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
<span class="badges">
|
<span class="badges">
|
||||||
{{ with .Params.veganness }}
|
{{ with .Params.veganness }}
|
||||||
<span class="badge badge-veganness badge-veganness-{{ . }}">v</span>
|
<span
|
||||||
|
class="badge badge-veganness badge-veganness-{{ . }}"
|
||||||
|
title="{{ partial "humanize_veganness.html" . }}"
|
||||||
|
>v</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Params.season }}
|
{{ with .Params.season }}
|
||||||
<span class="badge badge-season badge-season-{{ . }}">
|
<span
|
||||||
|
class="badge badge-season badge-season-{{ . }}"
|
||||||
|
title="{{ partial "humanize_season.html" . }}"
|
||||||
|
>
|
||||||
{{- if . | eq "summer" -}}✿
|
{{- if . | eq "summer" -}}✿
|
||||||
{{- else if . | eq "winter" -}}<i class="fa fa-snowflake-o" aria-hidden="true"></i>
|
{{- else if . | eq "winter" -}}<i class="fa fa-snowflake-o" aria-hidden="true"></i>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue