Merge pull request #455 from eisbehr-/master

Add config parameter for 'next' and 'previous' buttons
This commit is contained in:
Stéphane Goetz 2017-05-15 20:47:06 +02:00 committed by GitHub
commit ec82bdb717
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@
"search": true, "search": true,
"auto_toc": false, "auto_toc": false,
"inherit_index": false, "inherit_index": false,
"jump_buttons": true,
"repo": "", "repo": "",
"twitter": [], "twitter": [],

View File

@ -22,7 +22,7 @@
<?= $page['content']; ?> <?= $page['content']; ?>
</div> </div>
<?php if (!empty($page['prev']) || !empty($page['next'])) { <?php if ($params['html']['jump_buttons'] && (!empty($page['prev']) || !empty($page['next']))) {
?> ?>
<nav> <nav>
<ul class="Pager"> <ul class="Pager">