next button fix (#78)
This commit is contained in:
parent
cf5b4e642e
commit
ad357919bb
|
@ -27,7 +27,7 @@ hexo.extend.helper.register('page_nav', function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var keys = Object.keys(list);
|
var keys = Object.keys(list);
|
||||||
var index = keys.indexOf(path);
|
var index = keys.indexOf("/docs/" + path);
|
||||||
var result = '';
|
var result = '';
|
||||||
|
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
|
|
Loading…
Reference in New Issue