fix:去除调试代码。
This commit is contained in:
parent
8ebbf2141d
commit
deb251c6e3
|
@ -11,11 +11,8 @@ hexo.extend.helper.register("uk_paginator", function(option) {
|
|||
itemClasses: [],
|
||||
}, option);
|
||||
const pagePathReplaced = options.pagePath.replace('/', '\/').replace('%d', '\\d+');
|
||||
console.log(pagePathReplaced);
|
||||
const regPagePath = new RegExp(pagePathReplaced);
|
||||
console.log(regPagePath);
|
||||
options.base = options.base.replace(regPagePath, '');
|
||||
console.dir(options);
|
||||
|
||||
let pageStructure = [];
|
||||
pageStructure.push(`<ul class="uk-pagination ${options.mainClasses.join(' ')}">`);
|
||||
|
|
Loading…
Reference in New Issue
Block a user