next button fix (#78)

This commit is contained in:
Sacha Saint-Leger 2020-08-16 10:41:28 +02:00 committed by GitHub
parent cf5b4e642e
commit ad357919bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ hexo.extend.helper.register('page_nav', function() {
}
var keys = Object.keys(list);
var index = keys.indexOf(path);
var index = keys.indexOf("/docs/" + path);
var result = '';
if (index > 0) {