aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/author-list.html
blob: 619b1b32ede4ce3a03c66a18d028daf972f6eac4 (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 items found!</code>
    </footer>
  {{- end -}}
  </aside>
</author-list>