blob: 8a90f96f81d1faedc07ee16a855e9a2e69376e15 (
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
|
{{- $author := partial "function-authors-data.html" . -}}
{{- $feeds := partial "function-generate-feeds.html" . -}}
{{ range first 3 (uniq (sort $feeds "FeedDateTime" "desc")) }}
<web-ring-item>
<header>
<a
title="{{ .FeedLink }}"
href="{{ .FeedLink }}">
{{ .FeedTitle }}
</a>
</header>
<time
title="{{ .FeedDateTitle }}"
datetime="{{ .FeedDateTime }}">
{{ .FeedDate }}
</time>
<p>
{{ "--" | markdownify }}
{{ if gt (len .FeedDescriptionShort) (len .FeedContentShort) -}}
{{ or .FeedDescriptionShort .FeedTitle }}
{{- else -}}
{{ or .FeedContentShort .FeedTitle }}
{{- end }}
—
</p>
<a
title="{{ .FeedSourceDescription }}"
href="{{ or .FeedSourceHome .FeedSourceLink }}">
{{ .FeedSourceTitle }}
</a>
</web-ring-item>
{{ end }}
|