We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b05b4 commit bdf6484Copy full SHA for bdf6484
src/partials/pagination.hbs
@@ -1,12 +1,16 @@
1
{{#unless (eq page.attributes.pagination undefined)}}
2
{{#if (or page.previous page.next)}}
3
<nav class="pagination">
4
+ {{#if (ne page.attributes.pagination 'next')}}
5
{{#with page.previous}}
6
<span class="prev"><a href="{{{relativize ./url}}}">{{{./content}}}</a></span>
7
{{/with}}
8
+ {{/if}}
9
+ {{#if (ne page.attributes.pagination 'prev')}}
10
{{#with page.next}}
11
<span class="next"><a href="{{{relativize ./url}}}">{{{./content}}}</a></span>
12
13
14
</nav>
15
{{/if}}
16
{{/unless}}
0 commit comments