Update theme for 2019

This commit is contained in:
panr 2019-01-06 11:23:25 +01:00
parent 563972fe5f
commit 2ff92d6fdf
20 changed files with 375 additions and 83 deletions

View file

@ -1,10 +1,20 @@
<div class="pagination">
<div class="pagination__buttons">
{{ if .Paginator.HasPrev }}
<a class="button next" href="{{ .Paginator.Prev.URL }}"><span class="button__icon"></span></a>
<span class="button previous">
<a href="{{ .Paginator.Prev.URL }}">
<span class="button__icon"></span>
<span class="button__text">Newer posts</span>
</a>
</span>
{{ end }}
{{ if .Paginator.HasNext }}
<a class="button previous" href="{{ .Paginator.Next.URL }}"><span class="button__icon"></span></a>
<span class="button next">
<a href="{{ .Paginator.Next.URL }}">
<span class="button__text">Older posts</span>
<span class="button__icon"></span>
</a>
</span>
{{ end }}
</div>
</div>
</div>