From 1bb432f02dbd65c03e0fdb4d22b456b0a89d56df Mon Sep 17 00:00:00 2001 From: Xin Date: Tue, 10 Dec 2024 23:56:03 +0000 Subject: [PATCH] Update layouts/shortcodes/hextra/hero-section.html --- layouts/shortcodes/hextra/hero-section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -}}