From deb251c6e309c9a048f7b5f3fdd0f944abb6dae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 17 May 2021 15:53:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8E=BB=E9=99=A4=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/helper/uk-paginator.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/helper/uk-paginator.js b/scripts/helper/uk-paginator.js index 75a6c4e..6d157ae 100644 --- a/scripts/helper/uk-paginator.js +++ b/scripts/helper/uk-paginator.js @@ -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(`