blob: 80739280c7d72fc8fa9471707abc32bf9171b210 (
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
|
{{ define "styles" }}
{{ $author := partial "author-user.html" . }}
<style>
{{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }}
tab-list a[href="/{{ $author }}/media/"] {
display: inherit;
font-weight: 700;
text-decoration: underline;
text-decoration-color: #014cc6;
text-decoration-color: var(--link);
}
</style>
{{ end }}
{{ define "middle" }}
{{ partial "navigator-middle.html"
(dict
"Title" "Media"
"Subtitle" (partial "count-media.html" .)
"Icon" "arrow-left"
"IconLabel" "Back"
"Href" "/"
"Id" "back"
"Context" .
)
}}
{{ partial "profile.html" . }}
{{ partial "media-search.html" . }}
{{ partial "pagination.html" . }}
{{ end }}
{{ define "right" }}
{{- partial "navigator-right.html" . -}}
{{ end }}
|