From 80e6e749ccc32482ee23d0c3de0e26b0b0c86bd0 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 19 Nov 2022 19:54:37 +0800 Subject: [PATCH] [opt] wiki sort --- layout/_partial/sidebar/widgets/recent.ejs | 2 +- scripts/events/lib/doc_tree.js | 94 +++++++++++----------- source/css/_layout/partial/related.styl | 3 +- source/css/_layout/sidebar/widgets.styl | 1 - 4 files changed, 49 insertions(+), 51 deletions(-) diff --git a/layout/_partial/sidebar/widgets/recent.ejs b/layout/_partial/sidebar/widgets/recent.ejs index 736f8a7..208dcbd 100644 --- a/layout/_partial/sidebar/widgets/recent.ejs +++ b/layout/_partial/sidebar/widgets/recent.ejs @@ -24,7 +24,7 @@ function layoutDiv() { arr = site.posts.filter( p => p.title && p.title.length > 0) } el += '