diff --git a/layouts/shortcodes/hextra/hero-section.html b/layouts/shortcodes/hextra/hero-section.html index 09afa48..9b1d0e6 100644 --- a/layouts/shortcodes/hextra/hero-section.html +++ b/layouts/shortcodes/hextra/hero-section.html @@ -1,5 +1,5 @@ {{- $style := .Get "style" -}} -{{- $header := int (strings.TrimPrefix "h" (.Get "header" | default "h2")) -}} +{{- $heading := int (strings.TrimPrefix "h" (.Get "heading" | default "h2")) -}} {{- $size := cond (ge $header 4) "xl" (cond (eq $header 3) "2xl" "4xl") -}}