This commit is contained in:
xaoxuu 2021-08-25 21:47:31 +08:00
parent 43922545ee
commit 212459a4f8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function layoutTitle(main, url, sub) {
} }
function layoutDiv() { function layoutDiv() {
var el = ''; var el = '';
if (page.layout === 'wiki' && proj.index !== false) { if (page.layout == 'wiki' && proj && proj.index != false) {
el += '<div class="logo-wrap wiki">'; el += '<div class="logo-wrap wiki">';
// all products // all products
el += '<a style="filter: grayscale(100%)" class="wiki-home cap" href="' + url_for(config.wiki_dir) + '">'; el += '<a style="filter: grayscale(100%)" class="wiki-home cap" href="' + url_for(config.wiki_dir) + '">';