9064914829
Fixes #592 - Added *permanent* redirect to ensure `/page/1/` isn't used and that `/` is used instead. - Added pageUrl helper (and unit tests) to generate client side url fragment for blog pages conforming to the above standard. - Updated pagination helper to use new `pageUrl` theme helper. - Added functional tests for redirects and added scaffolding for functional frontend tests in general.
9 lines
327 B
Handlebars
9 lines
327 B
Handlebars
<nav class="pagination" role="pagination">
|
|
{{#if prev}}
|
|
<a class="newer-posts" href="{{pageUrl prev}}">← Newer Posts</a>
|
|
{{/if}}
|
|
<span class="page-number">Page {{page}} of {{pages}}</span>
|
|
{{#if next}}
|
|
<a class="older-posts" href="{{pageUrl next}}">Older Posts →</a>
|
|
{{/if}}
|
|
</nav> |