caixin: style of article route
This commit is contained in:
parent
df5e015dd7
commit
e1a3f8c869
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue