2026-02-12 20:55:29 +01:00
|
|
|
{{- $cats := .Page.Params.categories }}
|
2026-02-12 22:57:49 +01:00
|
|
|
{{- $symbols := dict "article" "🗞️" "presentation" "🎤" "podcast" "🎧" }}
|
|
|
|
|
{{- $icon := "" }}
|
|
|
|
|
{{- $title := "" }}
|
2026-02-12 20:55:29 +01:00
|
|
|
{{- range $cat := $cats }}
|
|
|
|
|
{{- with index $symbols $cat }}
|
2026-02-12 22:57:49 +01:00
|
|
|
{{- $icon = . }}
|
|
|
|
|
{{- $title = $cat | humanize }}
|
2026-02-12 20:55:29 +01:00
|
|
|
{{- end }}
|
|
|
|
|
{{- end }}
|
2026-02-12 22:57:49 +01:00
|
|
|
{{- with $icon }}
|
|
|
|
|
<span title="{{ $title }}">{{ $icon }} </span>
|
|
|
|
|
{{- end -}}
|