aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/_default/section.html
blob: ca0bb22fcc1628a5ea8723572600da593a010361 (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
26
27
28
29
{{ define "main" }}
<section class="section is-fullheight" itemscope itemtype="https://schema.org/AboutPage">
	<div class="container">
		<div class="columns is-centered">
			<div class="column is-7">
				<article class="content">
				<br>
        <span class="marginnote rightnote">
          See an archive of all {{ .Type }} <a class="underline" href="/{{ .Type }}/archive/">here.</a>
        </span>
        <recent-article>
				{{ range where .Paginator.Pages ".Params.hidden" "ne" "true" }}
          {{ .Render "summary" }}
				{{ end }}
        </recent-article>
        </article>
				{{ partial "pagination.html" . }}
        <br>
        <a href="/{{ .Type }}/archive/" class="front__more is-block has-text-centered">
          Archive of all {{ .Type }}                        
          <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <polyline points="9 18 15 12 9 6"></polyline>
          </svg>
        </a>
			</div>
		</div>
	</div>
</section>
{{ end }}