binario/layouts/_default/list.html
2018-11-03 10:23:41 -04:00

10 lines
No EOL
293 B
HTML

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