caixin: style of article route

This commit is contained in:
duhd1993 2021-01-02 20:36:18 -05:00
parent df5e015dd7
commit e1a3f8c869
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module.exports = async (ctx) => {
const items = await Promise.all(
data.map(async (item) => {
const link = item.web_url;
const summary = `<p><strong>摘要:</strong>${item.summary}</p><img src="${item.pics}">`;
const summary = `<blockquote><p>${item.summary}</p></blockquote><img src="${item.pics}">`;
const fullText = await ctx.cache.tryGet(link, async () => {
const result = await got.get(link);