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

index.html « layouts - github.com/rz3n/hugo-theme-freshstart.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01664de1bdae5f5208720a881d8014fb4913ea6f (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
{{ define "main" }}

{{ if .Site.Params.searchEngines }}
  <section class="search">
    <h3>search</h3>
    <div class="searchbox">
      {{ range .Site.Params.searchEngines }}
        {{ if .activated }}
          <form autocomplete="off" method="get" action="{{ .url }}">
            <i class="{{ .icon }}"></i>
            <input type="text" name="q">
          </form>
        {{ end }}
      {{ end }}
    </div>
  </section>
{{ end }}


<section class="cards">
  {{ range .Site.Params.bookmarks }}
  <div class="card">
    <h3><i class="{{ .icon }}"></i> {{ .group }} </h3>
    <ul>
      {{ range .items }}
        {{ if .icon }}
        <li><a href="{{ .url }}"><i class="{{ .icon }}"></i> {{ .name }}</a></li>
        {{ else }}
        <li><a href="{{ .url }}">{{ .name }}</a></li>
        {{ end }}
      {{ end }}
    </ul>
  </div>
  {{ end }}
</section>

{{ end }}