layout for notes

This commit is contained in:
xaoxuu 2022-11-06 22:02:13 +08:00
parent e3949b45a3
commit 1a92845f93
1 changed files with 1 additions and 1 deletions

View File

@ -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 += '<div class="logo-wrap wiki">';
// all products
el += '<a style="filter: grayscale(100%)" class="wiki-home cap" href="' + url_for(config.wiki_dir) + '">';