community.html 1.17 KB
Newer Older
1
{{ if .Site.Params.community.enable}}
2
<section id="community" class="call-to-action section-sm bg-1 overly" style='padding: 20em;background-image: url("{{ .Site.Params.community.background | absURL }}")'>
3
4
5
    <div class="container">
        <div class="row">
            <div class="col-lg-6 text-center">
6
7
8
               {{ with .Site.Params.community.title}} <h2 style="color:#fff">{{ . }}</h2> {{ end }}
               {{ with .Site.Params.community.content }} <p style="color:#fff">{{ . }}</p> {{ end }}
                <a href="{{ .Site.Params.community.btnURL }}" class="btn btn-main" style="color:#222">{{ with .Site.Params.community.btnText }} {{ . }} {{end}}</a>
9
10
            </div>
            <div class="col-lg-6 text-center">
11
12
13
                {{ with .Site.Params.community.portalsTitle}} <h2 style="color:#fff">{{ . }}</h2> {{ end }}
                {{ with .Site.Params.community.portalsDescription }} <p style="color:#fff">{{ . }}</p> {{ end }}
                 <a href="{{ .Site.Params.community.portalsURL }}" class="btn btn-main" style="color:#222">{{ with .Site.Params.community.portalsURLtext }} {{ . }} {{end}}</a>
14
15
16
17
             </div>
        </div>
    </div>
</section>
18
{{ end }}