diff --git a/layout/_partial/main/article/read_next.ejs b/layout/_partial/main/article/read_next.ejs index 0709625..1525bd7 100644 --- a/layout/_partial/main/article/read_next.ejs +++ b/layout/_partial/main/article/read_next.ejs @@ -20,6 +20,7 @@ function layoutDiv() { return false; } }).sort('order'); + page.order = page.order || 0; wikis.forEach((p, i) => { if (p.order < page.order) { if (prev == undefined || p.order > prev.order) { @@ -42,7 +43,7 @@ function layoutDiv() { if (next) { wrapper += '