Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

25 lines (19 sloc) 508 Bytes
{{ define "main" }}
<main>
{{ partial "index/introduction.html" . }}
<div class="catalogue">
{{ range (.Paginate .Pages).Pages }}
{{ .Render "summary" }}
{{ end }}
</div>
<div class="pagination">
{{ if .Paginator.HasPrev }}
<a href="{{ .Paginator.Prev.URL }}" class="left arrow">&#8592;</a>
{{ end }}
{{ if .Paginator.HasNext }}
<a href="{{ .Paginator.Next.URL }}" class="right arrow">&#8594;</a>
{{ end }}
<span>{{ .Paginator.PageNumber }}</span>
</div>
</main>
{{ end }}
You can’t perform that action at this time.