2019-07-30 21:32:26 +00:00
|
|
|
{{ define "main" }}
|
2021-04-03 14:43:13 +00:00
|
|
|
<section class="hero">
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-8 is-offset-2">
|
|
|
|
{{ with .Site.Params.Description }}{{.}}{{ end }}
|
2021-04-04 16:13:11 +00:00
|
|
|
{{ with .Site.Params.Topics }}
|
|
|
|
{{ $last := sub (len .) 1 }}
|
|
|
|
{{ range $i, $x := . }}
|
|
|
|
<a href="/tags/{{ $x | urlize }}/">{{ $x }}</a>
|
|
|
|
{{ if lt $i $last }}<span class="ampersand">&</span>{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2021-04-03 14:43:13 +00:00
|
|
|
</div>
|
2021-04-01 20:11:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-03 14:43:13 +00:00
|
|
|
</section>
|
2021-04-01 20:11:28 +00:00
|
|
|
|
2021-04-03 14:43:13 +00:00
|
|
|
<main class="mt-6">
|
2019-07-30 21:32:26 +00:00
|
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
2016-10-14 20:41:10 +00:00
|
|
|
{{ range $paginator.Pages }}
|
2021-04-03 14:43:13 +00:00
|
|
|
{{ .Render "summary" }}
|
2016-10-14 20:41:10 +00:00
|
|
|
{{ end }}
|
2021-04-04 15:06:05 +00:00
|
|
|
{{ partial "pagination" . }}
|
2021-04-03 14:43:13 +00:00
|
|
|
</main>
|
2019-07-30 21:32:26 +00:00
|
|
|
{{ end }}
|