2018-02-09 16:18:46 +00:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<div class="main">
|
2018-03-03 20:47:33 +00:00
|
|
|
{{- if not .IsHome}}
|
|
|
|
<div class="page block">
|
|
|
|
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
|
|
|
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-02-09 16:18:46 +00:00
|
|
|
<div class="cards">
|
|
|
|
{{ range .Paginator.Pages }}
|
2018-03-10 04:40:22 +00:00
|
|
|
<div class="card{{ with .Site.Params.CardsColumns }} card--{{ . }}col{{ else }} card--2col{{ end }}">
|
2018-02-09 16:18:46 +00:00
|
|
|
{{ .Render "summary" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2018-02-23 12:27:28 +00:00
|
|
|
{{ partial "pagination.html" . }}
|
2018-02-09 16:18:46 +00:00
|
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|