Put next page link first
This commit is contained in:
@@ -24,17 +24,17 @@
|
|||||||
|
|
||||||
{{ if or $page.PrevInSection $page.NextInSection }}
|
{{ if or $page.PrevInSection $page.NextInSection }}
|
||||||
<div class="mb-3" id="paige-prev-next">
|
<div class="mb-3" id="paige-prev-next">
|
||||||
{{ with $page.NextInSection }}
|
|
||||||
<p class="mb-0 text-center text-secondary" id="paige-prev">
|
|
||||||
‹ <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a>
|
|
||||||
</p>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ with $page.PrevInSection }}
|
{{ with $page.PrevInSection }}
|
||||||
<p class="mb-0 text-center text-secondary" id="paige-next">
|
<p class="mb-0 text-center text-secondary" id="paige-next">
|
||||||
<a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> ›
|
<a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> ›
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with $page.NextInSection }}
|
||||||
|
<p class="mb-0 text-center text-secondary" id="paige-prev">
|
||||||
|
‹ <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user