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

infos.html « partials « layouts - github.com/schmanat/hugo-highlights-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d8750d5c2506a3f946fa1adc74fb8ba02ebcfe49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ "<!-- Infos -->" | safeHTML }}
  <section id="infos" class="main special">
    <div class="container">
      {{ if eq .Site.Params.backgroundpersection true }}
        <span class="image fit primary"><img src="images/{{ with .Site.Params.infos.picture }}{{ . }}{{ end }}" alt="" /></span>
      {{ end }}
      <div class="content">
        <header class="major">
          <h2>{{ with .Site.Params.infos.title}}{{ . | markdownify }}{{ end }}</h2>
        </header>
        <p>{{ with .Site.Params.infos.description }}{{ . | markdownify }}{{ end }}</p>
      </div>
      <a href="#footer" class="goto-next scrolly">{{ with .Site.Params.infos.buttontext }}{{ . | markdownify }}{{ end }}</a>
    </div>
  </section>