From 1a92845f9361a98c25bb02bceaebecca986d7723 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 6 Nov 2022 22:02:13 +0800 Subject: [PATCH] layout for notes --- layout/_partial/sidebar/logo.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/_partial/sidebar/logo.ejs b/layout/_partial/sidebar/logo.ejs index ca34f02..9c7781c 100644 --- a/layout/_partial/sidebar/logo.ejs +++ b/layout/_partial/sidebar/logo.ejs @@ -21,7 +21,7 @@ function layoutTitle(main, url, sub) { } function layoutDiv() { var el = ''; - if (page.layout == 'wiki') { + if (page.layout == 'wiki' && proj && proj.index != false) { el += '
'; // all products el += '';