aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/webring.html
blob: 917928000b0d9c0744959918cb2f91ec9e2db75d (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 content found!</code>
    </footer>
  {{ end }}
</web-ring>