aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/webring.html
blob: 0f97624e5849debaf92783e6055ff82221d1c820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{- $feeds := partial "function-generate-feeds.html" . -}}
{{- $webring := print "public/" .Section "/webring.html" -}}

<web-ring>
  <h1>Web Ring</h1>
    {{ if and $feeds (fileExists $webring) }}
    <aside>
    {{- (resources.Get $webring).Content | safeHTML -}}
    </aside>
  {{ else }}
    <footer>
      <code>No content found!</code>
    </footer>
  {{ end }}
</web-ring>