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

list.html « partials « layouts - github.com/schmanat/hugo-highlights-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f8501f5862d45098294b11b386cb76b93626942 (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
{{ print "<!-- " .block.id " -->" | safeHTML }}
<section id="{{.block.id}}" class="main special">
    <div class="container">
        {{ if eq .params.backgroundpersection true }}
        <span class="image fit primary"
            ><img src="images/{{ with .block.picture }}{{ . }}{{ end }}" alt=""
        /></span>
        {{ end }}
        <div class="content">
            <header class="major">
                <h2>{{ with .block.title}}{{ . | markdownify }}{{ end }}</h2>
            </header>
            <p>{{ with .block.description}}{{ . | markdownify }}{{ end }}</p>
            <ul class="icons-grid">
                {{ range .block.item }}
                <li>
                    <span class="icon major {{ .icontype }} {{ .icon }}"></span>
                    <h3>{{ .title }}</h3>
                </li>
                {{ end }}
            </ul>
        </div>
        {{ if .next }}
        <a href="#{{.next.id}}" class="goto-next scrolly"
            >{{ with .block.buttontext }}{{ . | markdownify }}{{ end }}</a
        >
        {{ end }}
    </div>
</section>