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

list.html « contact « layouts - github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc2f35bbcf75b0974b866a6dfc606d434a289a06 (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
{{ partial "general-title" . }}

{{ partial "header" . }}
    {{ partial "navbar" . }}
    <!-- Main -->
    <div id="main">
        <article class="post">
          <header>
              <div class="title">
                  {{ if $.Scratch.Get "h1" }}
                      <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
                      {{ $.Scratch.Set "h1" false }}
                  {{ else }}
                      <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
                  {{ end }}
                  {{ with .Description }}
                      <p>{{ . }}</p>
                  {{ end }}
              </div>
          </header>
            <div id="content">
                {{ .Content }}
                <div class="contact-container">
                {{ if .Params.netlify }}
                  <form name="contact" action="thank-you" netlify center width="300px">
                {{ else }}
                  <form id="contact" action="//{{ .Params.emailservice }}" method="post" center width="300px">
                {{ end }}
                  <h4>Replies Typically Within 24 Hours.</h4>
                  <fieldset>
                   <input placeholder="{{ .Params.contactname }}" type="text" name="name" tabindex="1" required autofocus>
                  </fieldset>
                  <fieldset>
                   <input placeholder="{{ .Params.contactemail}}" type="email" name="email" tabindex="2" required>
                  </fieldset>
                  <fieldset>
                   <textarea placeholder="{{ .Params.contactmessage}}" name="message" tabindex="3" required></textarea>
                  </fieldset>
                  <fieldset>
                   <button name="submit" class="button" type="submit" id="contact-submit" tabindex="4">Submit</button>
                  </fieldset>
              </form>
            </div>
            </div>
        </article>
    </div>
    {{ partial "sidebar" . }}
{{ partial "footer" . }}