{{/* sectionId: Optional argument to override the default HTML id for this section. If not provided, the default id is used. */}} {{ $sectionId := "" }} {{ with .Get "sectionId" }} {{ $sectionId = . }} {{ end }} {{ $title := .Get "title" | default "" }} {{ $subtitle := .Get "subtitle" | default "" }} {{ $padding := .Get "padding" | default "true" }} {{ $centered := .Get "centered" | default "false" }} {{ $containerClass := "" }} {{ $paddingClass := "" }} {{ $columnClass := "col-12" }} {{ if eq $padding "true" }} {{ $containerClass = "container" }} {{ $paddingClass = "section--padding" }} {{ end }} {{ if eq $centered "true" }} {{ $containerClass = printf "%s %s" $containerClass "d-flex justify-content-center align-items-center" }} {{ $columnClass = printf "%s %s" $columnClass "text-center" }} {{ end }}
{{ if $title }}

{{ $title }}

{{ end }} {{ if $subtitle }}

{{ $subtitle }}

{{ end }}
{{ .Inner | markdownify }}