binario/layouts/_default/list.html
2018-11-14 13:34:07 -05:00

12 lines
No EOL
330 B
HTML

{{ define "main" }}
<main class="main">
<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>
</main>
{{ partial "pagination.html" . }}
{{ end }}