mirror of
https://github.com/chaoming/hugo-saasify-theme.git
synced 2025-04-20 06:11:53 +02:00
17 lines
558 B
HTML
17 lines
558 B
HTML
{{ $params := dict
|
|
"title" (.Get "title")
|
|
"description" (.Get "description")
|
|
"primary_button" (dict
|
|
"text" (.Get "primary_button_text")
|
|
"url" (.Get "primary_button_url")
|
|
)
|
|
"secondary_button" (dict
|
|
"text" (.Get "secondary_button_text")
|
|
"url" (.Get "secondary_button_url")
|
|
)
|
|
"gradient_from" (.Get "gradient-from")
|
|
"gradient_to" (.Get "gradient-to")
|
|
"gradient_angle" (.Get "gradient-angle")
|
|
}}
|
|
|
|
{{ partial "components/cta" (dict "Site" .Site "Params" (dict "cta" $params "enable" true)) }}
|