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

single.html « gallery « layouts - github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 479e482626401d5dcdfc65efcf40d84a700c9b00 (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
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}

<body>
  <article class="post {{ .Site.Language.LanguageName }}" id="article">
    <div class="row">
      <div class="col-xs-12 col-sm-10 col-md-8 col-sm-offset-1 col-md-offset-2 col-lg-6 col-lg-offset-3">
        <div class="site-header">
          {{ partial "header.html" . }}
        </div>
        <header class="post-header">
          <h1 class="post-title">{{ .Title }}</h1>
        </header>

        <div class="post-content markdown-body">
          <div class="row gallery">
            {{ range .Params.gallery }}
            <div class="col-xs-6 gallery-img">
              <img src="{{ .url }}" alt="{{ .name }}">
              <span class="gallery-img-desc">{{ .name }}</span>
            </div>
            {{ end }}
          </div>
        </div>

        {{ if .Site.Params.disqus }}
        <div class="post-comments">
          {{ partial "disqus.html" . }}
        </div>
        {{ end }}

        {{ partial "footer.html" . }}
      </div>
    </div>
  </article>

  {{ partial "scripts.html" . }}
  {{ if .Site.Params.extraBody }}
  {{ .Site.Params.extraBody | safeHTML }}
  {{ end }}

</body>

</html>