style: auto format
This commit is contained in:
parent
2c04940a6f
commit
ab866dfe16
|
|
@ -34,7 +34,8 @@ async function handler(ctx) {
|
|||
orderBy: { publishedDate: 'desc' },
|
||||
filter: {
|
||||
state: { equals: 'published' },
|
||||
...categoryFilter, ...sectionFilter,
|
||||
...categoryFilter,
|
||||
...sectionFilter,
|
||||
},
|
||||
},
|
||||
query: `
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ export function getArticle(item) {
|
|||
? content(':is([class^=external-article-brief],[class^=external-article-content])').html()
|
||||
: content(':is([class^=brief__BriefContainer],[class^=article-content__Wrapper])').html();
|
||||
|
||||
item.category = [...item.category, ...(content("meta[name='keywords']").attr("content") ?? "").split(",")];
|
||||
|
||||
item.category = [...item.category, ...(content("meta[name='keywords']").attr('content') ?? '').split(',')];
|
||||
|
||||
return item;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue