blob: 364635ac8a68a15e1fb37c6703d8f073d5d469e9 (
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" .) | absURL }}');"
{{ 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 }}
|