[fix] section title
This commit is contained in:
parent
5aa193c384
commit
2b17c47628
|
@ -84,7 +84,9 @@ function layoutDiv(fallback) {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 单 section
|
// 单 section
|
||||||
el += layoutTocHeader(page.toc_title);
|
if (proj.pages.length == 1) {
|
||||||
|
el += layoutTocHeader(page.toc_title);
|
||||||
|
}
|
||||||
el += '<div class="widget-body fs14">';
|
el += '<div class="widget-body fs14">';
|
||||||
el += layoutDocTree(proj.pages);
|
el += layoutDocTree(proj.pages);
|
||||||
el += '</div>';
|
el += '</div>';
|
||||||
|
|
Loading…
Reference in New Issue