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

list.html « _default « layouts - github.com/sudorook/capsule.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ff00acdbccbf208c9ff53db7597f7db9a619751 (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
<!DOCTYPE html>
<html lang="{{ .Language }}" dir="ltr" itemscope itemtype="http://schema.org/Article">

  {{ partial "head.html" . }}

  <body style="min-height:100vh;display:flex;flex-direction:column">

    {{ partial "navbar.html" . }}

    <section class="section" style="flex:1">

      <!-- Content -->
      <div class="container" style="min-height:56vh">
        {{- if .Data.Singular }}
        <h1 class="title">{{ .Data.Singular | title }}: {{ .Title }}</h1>
        {{- else }}
        <h1 class="title">{{ .Kind | title }}: {{ .Title }}</h1>
        {{- end }}

        {{- range .Paginator.Pages }}
          {{ .Render "summary" }}
        {{- end }}
      </div>

      <br>
      <br>
      <br>

      <!-- Pagination -->
      <div class="container">
        {{ partial "pagination-list.html" . }}
      </div>

    </section>

    {{ partial "footer.html" . }}

  </body>

</html>