diff options
author | Dimitri Staessens <[email protected]> | 2019-06-19 20:30:25 +0200 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2019-06-19 20:30:25 +0200 |
commit | 2a2311ea3fb1b89a266668bfd16aa96475fc183e (patch) | |
tree | 29af79791f578612ef759b9d2421a3fc7c5690ee /themes/terrassa/layouts/partials/hero.html | |
parent | d3198abf51c1785994bbbbebd195aad44978e5ff (diff) | |
download | website-2a2311ea3fb1b89a266668bfd16aa96475fc183e.tar.gz website-2a2311ea3fb1b89a266668bfd16aa96475fc183e.zip |
theme: Update terrassa theme to newest version
This updates the terrassa theme to the latest version.
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> |