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

<author-list>
  <h1>
    <a data-hover href="{{ "" | absURL }}/authors/">
      Authors
    </a>
  </h1>
  <aside>
  {{- with $authors = resources.Get $authors -}}
   {{- $authors.Content | safeHTML -}}
  {{- else -}}
    <footer>
      <code>No authors found!</code>
    </footer>
  {{- end -}}
  </aside>
</author-list>