{{- $hero := .hero }} {{- $content := .content }} {{- $color := .color }} {{- $odd := .odd }} {{- $id := "hero"}} {{if $hero.id}} {{- $id := $hero.id}} {{else if .id}} {{- $id := .id }} {{end}} {{ $template := resources.Get "scss/hero.scss" }} {{ if $template }} {{ $index := $template | resources.ExecuteAsTemplate "css/hero.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }} {{ end }}

{{ $hero.title }}

{{ $content }}

{{if $hero.button.visible}} {{ $hero.button.text }} {{end}}
{{ $hero.image.alt }}