blob: 23219e7b56c418422afec22c366d91caf45cfff4 (
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
57
58
59
60
61
62
63
|
<micro-thumbnail hidden>
{{ partial "profile-picture.html" . }}
</micro-thumbnail>
<section>
{{ if or .Weight .Params.Liked }}
<anchored-entry>
{{ if .Weight }}
<anchored-pinned>
{{ safeHTML (readFile "static/icons/tabler/pinned.svg") }}
</anchored-pinned>
<span>Pinned</span>
{{ end }}
{{ if .Params.Liked }}
<anchored-liked>
{{ safeHTML (readFile "static/icons/feather/heart.svg") }}
</anchored-liked>
<span>Liked</span>
{{ end }}
</anchored-entry>
{{ end }}
<h2>
<b>
{{- with .Params.feedName -}}
{{ . }}
{{- else -}}
{{ partial "author-name.html" . }}
{{- end -}}
</b>
</h2>
· {{ partial "meta-handle.html" . }}
{{ if .Draft }}
· <draft-label><em>Draft</em></draft-label>
{{ end }}
· {{- partial "meta-read-time.html" . -}}
· {{- partial "meta-word-count.html" . -}}
{{ if .Params.Unlisted }}
· <unlisted-entry title="This message is off the record">
{{ safeHTML (readFile "static/icons/feather/eye-off.svg") }}
<span>unlisted</span></unlisted-entry>
{{ end }}
· {{- partial "meta-date-time.html" . -}}
{{- if .ExpiryDate -}}
· {{- partial "meta-expiry-date.html" . -}}
{{- end -}}
· <cite><a title="#{{ partial "card-id.html" . }}" href="#{{ partial "card-id.html" . }}">#id</a></cite>
{{ if not .ExpiryDate }}
· {{ partial "meta-source.html" . -}}
{{- end -}}
</section>
|