binario/layouts/_default/list.html

18 lines
572 B
HTML
Raw Normal View History

2018-02-09 16:18:46 +00:00
{{ 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 }}
2018-02-09 16:18:46 +00:00
<div class="cards">
{{ range .Paginator.Pages }}
2018-05-27 06:58:52 +00:00
<div class="card{{ if $.Param "cardsPerRow" }} card--{{ $.Param "cardsPerRow" }}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" . }}