{{- 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" -}} {{ if ne .Content "" }}
{{ .Content }}
{{ end }} {{- end -}} {{ define "sidebar" }} {{- partial "contentlayouts/menu.html" . }} {{ end }}