mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-29 22:39:33 +00:00
Include subarticles in flatten articles list
This commit is contained in:
@@ -34,7 +34,7 @@ exports.readSummary = function (path) {
|
|||||||
item.path = path;
|
item.path = path;
|
||||||
item.collapsible = true;
|
item.collapsible = true;
|
||||||
|
|
||||||
} else if (level == 1) {
|
} else if (level == 1 || level == 2) {
|
||||||
if (!item.children) {
|
if (!item.children) {
|
||||||
item.children = [];
|
item.children = [];
|
||||||
if (item.path) item.children.push(item.path);
|
if (item.path) item.children.push(item.path);
|
||||||
|
|||||||
Reference in New Issue
Block a user