blob: 5e783716961dfb46808b6da7bce9d856601d2f96 (
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
|
{{ define "styles" }}
<style>
{{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
</style>
{{ end }}
{{ define "middle" }}
{{- partial "navigator-middle.html"
(dict
"Context" .
"Title" "Home"
"Subtitle" (partial "count-total-messages.html" .)
"IconLabel" (and (gt .Paginator.PageNumber 1) "Back")
"Id" (and (gt .Paginator.PageNumber 1) "back")
"Icon" (and (gt .Paginator.PageNumber 1) "arrow-left")
"Href" (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL))
)
-}}
{{ 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.gallery) }}
{{- 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 }}
|