From 3aabeff06571990e418d97baff2ec39e6207110b Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 3 Jul 2021 22:33:52 +0800 Subject: [PATCH] sidebar --- layout/_partial/sidebar/index.ejs | 2 +- source/css/_common/highlight.styl | 2 +- source/css/_layout/sidebar/sidebar.styl | 9 +--- source/css/_layout/sidebar/toc_blog.styl | 3 ++ .../sidebar/{toc.styl => toc_common.styl} | 38 ++-------------- source/css/_layout/sidebar/toc_wiki.styl | 45 +++++++++++++++++++ source/css/_layout/tag-plugins/link.styl | 10 +++-- 7 files changed, 62 insertions(+), 47 deletions(-) create mode 100644 source/css/_layout/sidebar/toc_blog.styl rename source/css/_layout/sidebar/{toc.styl => toc_common.styl} (53%) create mode 100644 source/css/_layout/sidebar/toc_wiki.styl diff --git a/layout/_partial/sidebar/index.ejs b/layout/_partial/sidebar/index.ejs index 921614a..7e4f482 100755 --- a/layout/_partial/sidebar/index.ejs +++ b/layout/_partial/sidebar/index.ejs @@ -11,7 +11,7 @@ if (page.sidebar == undefined) { } function layoutFooterDiv() { if (theme.footer.social && theme.footer.social.length > 0) { - var el = '