{{- $title := .Get "title" -}} {{- $subtitle := .Get "subtitle" -}} {{- $class := .Get "class" -}} {{- $image := .Get "image" -}} {{- $imageClass := .Get "imageClass" -}} {{- $style := .Get "style" -}} {{- $icon := .Get "icon" -}} {{- $link := .Get "link" -}} {{- $external := hasPrefix $link "http" -}} {{- $href := cond (strings.HasPrefix $link "/") ($link | relURL) $link -}} {{- if hasPrefix $image "/" -}} {{- $image = relURL (strings.TrimPrefix "/" $image) -}} {{- end -}}

{{ with $icon -}} {{- partial "utils/icon.html" (dict "name" . "attributes" "height=1.5rem") -}} {{ end -}} {{ $title }}

{{ $subtitle | markdownify }}

{{- with $image -}} {{ $title }} {{- end -}}