2026-02-12 20:55:29 +01:00
|
|
|
{{- $cats := .Page.Params.categories }}
|
2026-02-12 22:57:49 +01:00
|
|
|
{{- $symbols := dict "article" "Article published" "presentation" "Presentation given" "podcast" "Podcast released" }}
|
2026-02-12 20:55:29 +01:00
|
|
|
{{- $selection := "" }}
|
|
|
|
|
{{- range $cat := $cats }}
|
|
|
|
|
{{- with index $symbols $cat }}
|
|
|
|
|
{{- $selection = . }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- if not $selection }}
|
|
|
|
|
{{- $selection = "Blogged" }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- return $selection }}
|