From 212459a4f83a604dbddcc6847e5f44d2b5041a24 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 25 Aug 2021 21:47:31 +0800 Subject: [PATCH] fix #29 --- 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 84855cd..f4168a3 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' && proj.index !== false) { + if (page.layout == 'wiki' && proj && proj.index != false) { el += '
'; // all products el += '';