Button styling and added border on click for all buttons/cards

This commit is contained in:
Joseph Hutchinson
2018-04-18 16:47:11 -04:00
parent e09efa9bd7
commit 5a6838cb13
2 changed files with 13 additions and 8 deletions

View File

@@ -13,8 +13,9 @@
</main>
<div class="pagination-nav side-gutter">
<a href="#" class="pagination-prev button">Newer Posts</a>
{{ if .Paginator.HasPrev }}<a href="{{ .Paginator.Prev.URL }}" class="pagination-prev button">Newer Posts</a>{{ end }}
<p class="pagination-pagenum muted-text">Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</p>
<a href="#" class="pagination-next button">Older Posts</a>
{{ if .Paginator.HasNext }}<a href="{{ .Paginator.Next.URL }}" class="pagination-next button">Older Posts</a>{{ end }}
</div>
{{ partial "scripts.html" . }}
</body>