feat: add three different media as blog types as testing objects, with infos on list
This commit is contained in:
1 parent
81d72c9576
commit
92d46d74bf
6 files changed
+117
-2
No files matched your search
@@ -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 }}
|
||||
Reference in new issue
Block a user