Add pagination boilerplate

This commit is contained in:
Joseph Hutchinson
2018-04-15 14:53:31 -04:00
parent e1826f771f
commit ee1834cf53
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,11 @@
{{ end }}
</section>
</main>
<div class="pagination-nav">
<a href="#">&laquo; Older Posts</a>
<div>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</div>
<a href="#">Newer Posts &raquo;</a>
</div>
</div>
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}