{{/* Variant can be one of: dark, light, gradient. */ -}} {{ $color := .Get "color" | default "dark" -}} {{/* Height can be one of: auto, min, med, max, full. */ -}} {{ $height := .Get "height" | default "max" -}} {{/* Content can be one of: top, bottom. */ -}} {{ $content := .Get "content" | default "top" -}}
{{ . | html }}
{{ end -}} {{ if eq $content "bottom" }}