{{ define "main" }}
	<section class="hero px-3 site-description">
		<div class="hero-body">
			<div class="container">
				<div class="columns">
					<div class="column is-8 is-offset-2">
						{{ with .Site.Params.Description }}{{.}}{{ end }}
						{{ 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 }}
					</div>
				</div>
			</div>
		</div>
	</section>

	<main class="mt-6">
		{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
		{{ range $paginator.Pages }}
			{{ .Render "summary" }}
		{{ end }}
		{{ partial "pagination" . }}
	</main>
{{ end }}
