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

post.html « section « layouts - github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 48c6f828b376c45468a807d0eebfcf553ecaa52e (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
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">

{{ partial "head.html" . }}

<body>
  <div class="container">

    {{ partial "header.html" . }}

    <article>

      {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).GroupByDate "2006/01" -}}
      <section>
        <h2>{{ .Key }}</h2>

        <ol>
          {{ range .Pages -}}
          <li>
            {{ .Render "list-item" }}
          </li>
          {{ end }}
        </ol>
      </section>
      {{ end }}

    </article>

    {{ partial "nav.html" . }}

    {{ partial "footer.html" . }}

  </div>

  {{ partial "highlight" . }}

</body>

</html>