feat: add three different media as blog types as testing objects, with infos on list

This commit is contained in:
2026-02-12 20:55:29 +01:00
parent d99b4821d9
commit fc1969f5ac
6 changed files with 117 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{{- $cats := .Page.Params.categories }}
{{- $symbols := dict "news" "Article published" "presentation" "Presentation given" "podcast" "Podcast released" }}
{{- $selection := "" }}
{{- range $cat := $cats }}
{{- with index $symbols $cat }}
{{- $selection = . }}
{{- end }}
{{- end }}
{{- if not $selection }}
{{- $selection = "Blogged" }}
{{- end }}
{{- return $selection }}