Commit 105725bb authored by Jonathan Carter's avatar Jonathan Carter
Browse files

readd pages

parent 05d38378
{{ if .IsPage }}
{{ if .Prev | or .Next }}
{{ if .NextPage | or .PrevPage }}
<nav class="pagination" aria-label="Footer">
<div class="previous">
{{ if .Prev }}
<a href="{{ .Prev.Permalink }}" title="{{ .Prev.Title }}">
{{ if .NextPage }}
<a href="{{ .NextPage.Permalink }}" title="{{ .NextPage.Title }}">
<span class="direction">
Previous
</span>
......@@ -13,7 +13,7 @@
</div>
<div class="stretch">
<div class="title">
{{ .Prev.Title }}
{{ .NextPage.Title }}
</div>
</div>
</div>
......@@ -22,15 +22,15 @@
</div>
<div class="next">
{{ if .Next }}
<a href="{{ .Next.Permalink }}" title="{{ .Next.Title }}">
{{ if .PrevPage }}
<a href="{{ .PrevPage.Permalink }}" title="{{ .PrefPage.Title }}">
<span class="direction">
Next
</span>
<div class="page">
<div class="stretch">
<div class="title">
{{ .Next.Title }}
{{ .PrefPage.Title }}
</div>
</div>
<div class="button button-next" role="button" aria-label="Next">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment