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

single.html « contact « layouts - github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 07289b994456d4a95e6bc05d3d49e4e3f73444d9 (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
{{ define "main" }}
<header class="header basicflex-column">
  <h3 class="h3 terms__title">
    {{ .Title }}
  </h3>
</header>
<main class="main">
  <div class="contact">
      <article class="single__contents contact__desc" data-dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}" data-ani="{{ $.Site.Params.enableUiAnimation | default "true" }}">
        {{ .Content }}
      </article>
      {{ if eq .Params.service "formspree" }}
        {{ partial "contact/formspree" . }}
      {{ else if eq .Params.service "getform" }}
        {{ partial "contact/getform" . }}
      {{ else if eq .Params.service "netlifyform" }}
        {{ partial "contact/netlifyform" . }}
      {{ end }}
  </div>
</main>
<div class="hide">
  {{ partial "search/site-search" . }}
</div>
{{ partial "script/contact-script" . }}
{{ end }}