diff options
Diffstat (limited to 'themes/terrassa/layouts/partials/hero.html')
-rw-r--r-- | themes/terrassa/layouts/partials/hero.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/terrassa/layouts/partials/hero.html b/themes/terrassa/layouts/partials/hero.html index 138d674..d3c2a30 100644 --- a/themes/terrassa/layouts/partials/hero.html +++ b/themes/terrassa/layouts/partials/hero.html @@ -1,9 +1,9 @@ -<main class="hero" {{ if $.Params.images }} style="background-image: url('{{ $.Site.BaseURL }}images/{{ print (index $.Params.images 0) }}');" - {{ end }}> +<main class="hero" {{ if $.Params.images }} + style="background-image: url('{{ $.Site.BaseURL }}images/{{ print (index $.Params.images 0) }}');" {{ end }}> <div class="hero__caption" {{ if $.Site.Params.hero.textColor }} style="color: {{ $.Site.Params.hero.textColor }};" {{ end }}> {{ .Content }} - {{ if .Site.Params.cta.show }} + {{ if $.Site.Params.cta.show }} {{ partial "cta-btn.html" . }} {{ end }} </div> |