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 += '';