Welcome to mirror list, hosted at ThFree Co, Russian Federation.

intro.html « partials « layouts - github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5ce1b0d785710cbeb5db9cb4689ac7fb1bf4522 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- Intro -->
<section id="intro" class="container">
    <div class="row">
        <div class="4u 12u(mobile)">
            <section class="first">
                {{ with index .Site.Data.home.intro.sections 0 }}
                <i class='icon featured {{ .icon }}'></i>
                <header>
                    <h2>{{ .title }}</h2>
                </header>
                <p>{{ .description }}</p>
                {{ end }}
            </section>
        </div>
        <div class="4u 12u(mobile)">
            <section class="middle">
                {{ with index .Site.Data.home.intro.sections 1 }}
                <i class="icon featured alt {{ .icon }}"></i>
                <header>
                    <h2>{{ .title }}</h2>
                </header>
                <p>{{ .description }}</p>
                {{ end }}
            </section>
        </div>
        <div class="4u 12u(mobile)">
            <section class="last">
                {{ with index .Site.Data.home.intro.sections 2 }}
                <i class="icon featured alt2 {{ .icon }}"></i>
                <header>
                    <h2>{{ .title }}</h2>
                </header>
                <p>{{ .description }}</p>
                {{ end }}
            </section>
        </div>
    </div>
    <footer>
        <ul class="actions">
            {{ with index .Site.Data.home.intro.buttons 0 }}
            <li><a href="{{ .link }}" class="button big">{{ .text }}</a></li>
            {{ end }}
            {{ with index .Site.Data.home.intro.buttons 1 }}
            <li><a href="{{ .link }}" class="button alt big">{{ .text }}</a></li>
            {{ end }}
        </ul>
    </footer>
</section>