fix(route/sspai/index): fix order (#20575)
This commit is contained in:
parent
68fdac3ea2
commit
87bb77ca4c
|
|
@ -47,11 +47,10 @@ async function handler() {
|
|||
if (banner) {
|
||||
description = `<img src="${banner}" alt="Article Cover Image" style="display: block; margin: 0 auto;"><br>`;
|
||||
}
|
||||
description += articleData.body;
|
||||
|
||||
if (articleData.body_extends) {
|
||||
description += articleData.body_extends.map((bodyExtendsItem) => `<h2>${bodyExtendsItem.title}</h2>${bodyExtendsItem.body}`).join('');
|
||||
}
|
||||
description += articleData.body;
|
||||
|
||||
return {
|
||||
title: item.title.trim(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue