From 3e1fdf52d430e6f5ac84d9f072834dc7905ce7aa Mon Sep 17 00:00:00 2001 From: kifuan Date: Sun, 14 May 2023 12:36:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/includes/page/flink.pug | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/includes/page/flink.pug b/layout/includes/page/flink.pug index 0978312..6638bff 100644 --- a/layout/includes/page/flink.pug +++ b/layout/includes/page/flink.pug @@ -2,7 +2,6 @@ .flink - let pageContent = page.content if page.flink_url - - let pageRandom = page.random script. (()=>{ const replaceSymbol = (str) => { @@ -20,7 +19,7 @@ let listResult = "" const lists = str[i].link_list - if (!{pageRandom}) { + if (!{page.random}) { lists.sort(() => Math.random() - 0.5) } for(let j = 0; j < lists.length; j++){