bunteshaus.de/themes/buha/layouts/_default.old/newsletter.html

26 lines
557 B
HTML
Raw Normal View History

2022-04-08 12:04:46 +02:00
{{- 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 }}
<h1>{{ $name }}</h1>
{{- end -}}
{{- define "main" -}}
2022-04-09 01:36:05 +02:00
{{ partial "debug" (dict "context" . ) }}
2022-04-08 12:04:46 +02:00
{{ if ne .Content "" }}
<article>
{{ .Content }}
</article>
{{ end }}
{{- end -}}
{{ define "sidebar" }}
{{- partial "contentlayouts/menu.html" . }}
{{ end }}