Add pagination boilerplate
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
{{ end }}
|
||||
</section>
|
||||
</main>
|
||||
<div class="pagination-nav">
|
||||
<a href="#">« Older Posts</a>
|
||||
<div>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</div>
|
||||
<a href="#">Newer Posts »</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "scripts.html" . }}
|
||||
|
||||
@@ -137,6 +137,11 @@ img {
|
||||
line-height: 1.5;
|
||||
margin: 0.7em 0;
|
||||
}
|
||||
.pagination-nav {
|
||||
margin: 2em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
blockquote {
|
||||
border-left: 0.3em solid #D1D1D1;
|
||||
margin: 1.5em 0.8em;
|
||||
|
||||
Reference in New Issue
Block a user