aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/list.html
blob: 3fc93ce3eefc1b0f3a9cbf65f80817a33a80f6ec (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
{{ define "styles" }}
<style>
  {{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
</style>
{{ end }}

{{ define "middle" }}

  {{ partial "navigator-middle.html"
    (dict
      "Title" "Home"
      "Subtitle" (partial "count-total-messages.html" .)
      "Context" .
    )
  }}

  {{ range .Paginator.Pages }}
    {{ .Render "summary" }}
  {{ end }}

  {{ partial "pagination.html" . }}

{{ end }}

{{ define "right" }}
  {{- partial "author-list.html" . -}}

  {{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.picturegallery) }}
    {{- partial "gallery.html" . -}}
  {{ end }}

  {{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) }}
    {{- partial "following-list.html" . -}}
    {{- partial "webring.html"        . -}}
  {{ end }}

{{ end }}