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 }}
|
|
|
|
<div class="card">
|
|
|
|
{{ .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" . }}
|