bunteshaus.de/themes/buha/layouts/_default/list.html
2022-04-03 21:08:42 +02:00

20 lines
444 B
HTML

{{- define "title" -}}
{{ $name := .Name | lower }}
{{ if ne ($name | i18n) "" }}
{{ $name = $name | i18n }}
{{ else }}
{{ if ne .Section "events" }}
{{ $name = $name | singularize }}
{{ end }}
{{ $name = $name | humanize }}
{{ end }}
{{ $name }}
{{- end -}}
{{- define "main" -}}
{{ partial "list/misc.html" . }}
{{- end -}}
{{ define "sidebar" }}
{{- partial "structure/sidebar" . }}
{{ end }}