blob: 30776ff2c0cdd4435eba26d30d40f0c4c419f713 (
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
|
{{ define "styles" }}
<style>
{{ partial "styles-navigator.html" (dict "Link" "/tags/") | safeCSS }}
</style>
{{ end }}
{{ define "middle" }}
{{- $terms := print (lang.FormatNumberCustom 0 (len .Data.Pages)) " " "Messages" -}}
{{ partial "navigator-middle.html"
(dict
"Title" (print "#" .Title)
"Subtitle" $terms
"Icon" "arrow-left"
"IconLabel" "Back"
"Href" "/"
"Id" "back"
"Context" .
)
}}
{{ range .Paginator.Pages }}
{{ partial "card.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}
{{ define "right" }}
{{- partial "navigator-right-default.html" . -}}
{{ end }}
|