aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/following-list.html
blob: 165d699c09712c7ff1b9d9d0653d440dac62bcd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{- $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) -}}
   {{- (resources.Get $following).Content | safeHTML -}}
  {{- else -}}
    <footer>
      <code>No feeds found!</code>
    </footer>
  {{- end -}}
  </aside>
</following-list>