aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/following-list.html
blob: 9a728d4a47c9a4f75f99e7f2e37f8e59790fa4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{- $author := partial "function-authors-data.html" . -}}
{{- $following := print "public/" $author.user "/following.html" -}}

<following-list>
  <h1>Following</h1>
  <aside>
  {{- if and $author.feeds.rss (fileExists $following) -}}
   {{- with $following = resources.Get $following -}}
    {{- $following.Content | safeHTML -}}
   {{- end -}}
  {{- else -}}
    <footer>
      <code>No feeds found!</code>
    </footer>
  {{- end -}}
  </aside>
</following-list>