template installiert

This commit is contained in:
2026-10-17 08:45:08 +02:00
parent ec2da90945
commit 7532843b67
378 changed files with 13317 additions and 8 deletions
+10
View File
@@ -0,0 +1,10 @@
{{- $description := .Summary -}}
{{- if isset .Params "description" -}}
{{- $description = .Params.description -}}
{{- end -}}
{{- $description = $description | plainify | htmlUnescape -}}
{{- $limit := int (.Site.Params.cardDescriptionLength | default 0) -}}
{{- if gt $limit 0 -}}
{{- $description = $description | truncate $limit -}}
{{- end -}}
{{- return $description -}}