fix(route/sspai/index): fix order (#20575)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user