aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/partials/hero.html
blob: d3c2a30562964ab6264f5d8f2572eb80c1ac4fed (plain)
1
2
3
4
5
6
7
8
9
10
<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 }}
        {{ partial "cta-btn.html" . }}
        {{ end }}
    </div>
</main>