blob: 7d1a9f3e7b6a4fe61a2aaa5fe43642ac82a53e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{{ "<!-- HOME -->" | safeHTML }}
{{ with .Site.Data.home }}
<section id="home"
{{ with .background }}
style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"
{{ end }}
>
<div class="header-content">
<div class="header-content-inner">
{{ with .title }}
<h1>{{ . | markdownify }}</h1>
{{ end }}
{{ with .subtitle }}
<h2>{{ . | markdownify }}</h2>
{{ end }}
{{ if .title }}
<hr class="primary">
{{ end }}
{{ with .text }}
<p>{{ . | markdownify }}</p>
{{ end }}
{{ with .button_text }}
<a href="#about" class="btn btn-primary page-scroll">
{{ . }}<br>
</a>
{{ end }}
</div>
</div>
</section>
{{ end }}
|