This commit is contained in:
Thomas Chopitea 2019-12-30 18:54:30 +01:00
parent ee93a3dcd5
commit cd902fc7c0

View File

@ -38,18 +38,18 @@
<hr /> <hr />
</div> </div>
<div class="pagination__buttons"> <div class="pagination__buttons">
{{ if .NextInSection }} {{ if .PrevInSection }}
<span class="button previous"> <span class="button previous">
<a href="{{ .NextInSection.Permalink }}"> <a href="{{ .PrevInSection.Permalink }}">
<span class="button__icon"></span> <span class="button__icon"></span>
<span class="button__text">{{ .NextInSection.Title }}</span> <span class="button__text">{{ .PrevInSection.Title }}</span>
</a> </a>
</span> </span>
{{ end }} {{ end }}
{{ if .PrevInSection }} {{ if .NextInSection }}
<span class="button next"> <span class="button next">
<a href="{{ .PrevInSection.Permalink }}"> <a href="{{ .NextInSection.Permalink }}">
<span class="button__text">{{ .PrevInSection.Title }}</span> <span class="button__text">{{ .NextInSection.Title }}</span>
<span class="button__icon"></span> <span class="button__icon"></span>
</a> </a>
</span> </span>