Put next page link first

master
Will Faught 1 year ago
parent 9e12368685
commit e4b131531b

@ -24,17 +24,17 @@
{{ if or $page.PrevInSection $page.NextInSection }}
<div class="mb-3" id="paige-prev-next">
{{ with $page.NextInSection }}
<p class="mb-0 text-center text-secondary" id="paige-prev">
&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a>
</p>
{{ end }}
{{ with $page.PrevInSection }}
<p class="mb-0 text-center text-secondary" id="paige-next">
<a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> &rsaquo;
</p>
{{ end }}
{{ with $page.NextInSection }}
<p class="mb-0 text-center text-secondary" id="paige-prev">
&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a>
</p>
{{ end }}
</div>
{{ end }}

Loading…
Cancel
Save