aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/abstracts/section.html
blob: d06ab1e28bdb745d1ba401c71326e5d258e29717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{ define "main" }}
<main>
  <abstracts-page>
    <article-list>
        <h1>{{ .Type | title }}</h1>

        <margin-note right>
          See an archive of all {{ .Type }} <a href="/archives/{{ .Type }}/">here.</a>
        </margin-note>

        <recent-articles>
          <recent-abstracts>
            {{ range where .Paginator.Pages ".Params.hidden" "ne" "true" }}
            {{ .Render "summary" }}
            {{ end }}
          </recent-abstracts>
        </recent-articles>

      {{ partial "article-pagination.html" . }}

      {{ partial "article-archive-link.html" . }}
    </article-list>
  </abstracts-page>
</main>
{{ end }}