Skip to content

Commit aeb416a

Browse files
committed
Range over .Site.RegularPages in index.html
See #28
1 parent 7eb3a3f commit aeb416a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
{{ partial "index/introduction.html" . }}
55

66
<div class="catalogue">
7-
{{ range (.Paginate .Pages).Pages }}
7+
{{ range (.Paginate .Site.RegularPages).Pages }}
88
{{ .Render "summary" }}
99
{{ end }}
1010
</div>
11-
11+
1212
<div class="pagination">
1313
{{ if .Paginator.HasPrev }}
1414
<a href="{{ .Paginator.Prev.URL }}" class="left arrow">&#8592;</a>
1515
{{ end }}
1616
{{ if .Paginator.HasNext }}
1717
<a href="{{ .Paginator.Next.URL }}" class="right arrow">&#8594;</a>
1818
{{ end }}
19-
19+
2020
<span>{{ .Paginator.PageNumber }}</span>
2121
</div>
2222
</main>

0 commit comments

Comments
 (0)