binario/layouts/_default/list.html
2018-05-27 09:58:52 +03:00

18 lines
No EOL
572 B
HTML

{{ partial "header.html" . }}
<div class="main">
{{- 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 }}
<div class="cards">
{{ range .Paginator.Pages }}
<div class="card{{ if $.Param "cardsPerRow" }} card--{{ $.Param "cardsPerRow" }}col{{ else }} card--2col{{ end }}">
{{ .Render "summary" }}
</div>
{{ end }}
</div>
{{ partial "pagination.html" . }}
</div>
{{ partial "footer.html" . }}