blob: 009e2fcc040edb2542861abfa05d61fc03578565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{- $author := partial "function-authors-data.html" . -}}
{{- $webring := print "public/" .Section "/webring.html" -}}
<web-ring>
<h1>Web Ring</h1>
{{ if and $author.feeds.rss (fileExists $webring) }}
<aside>
{{- (resources.Get $webring).Content | safeHTML -}}
</aside>
{{ else }}
<footer>
<code>No items found!</code>
</footer>
{{ end }}
</web-ring>
|