blob: 97436fa9dd897446b336be5d8a7f82c1f678e131 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{{ define "styles" }}
<style>
{{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
tab-bar a[href="{{ .CurrentSection.Permalink }}"],
tab-bar a[href="{{ strings.TrimRight "/" .CurrentSection.Permalink }}"] {
color: #111;
color: var(--foreground);
display: inherit;
font-weight: 700;
text-decoration-color: #014cc6;
text-decoration-color: var(--link);
text-decoration: underline;
}
</style>
{{ end }}
{{ define "middle" }}
{{- $messages := print
(lang.FormatNumberCustom 0 .Paginator.TotalNumberOfElements)
" "
"Messages"
-}}
{{ partial "navigator-middle.html"
(dict
"Title" (partial "author-name.html" .)
"Subtitle" $messages
"Icon" "arrow-left"
"IconLabel" "Back"
"Href" "/"
"Id" "back"
"Context" .
)
}}
{{ partial "author-section-picture.html" . }}
{{ partial "profile.html" . }}
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ else }}
<footer>
<code>No messages found!</code>
</footer>
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}
{{ define "right" }}
{{- partial "navigator-right.html" . -}}
{{ end }}
|