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

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