fix(route): remove rich block (#20116)
Co-authored-by: yifan.wang1004 <yifan.wang1004@bytedance.com>
This commit is contained in:
parent
d5294048ad
commit
84c92e4e60
|
|
@ -35,6 +35,7 @@ async function handler() {
|
|||
const items = data.map((item) => {
|
||||
const head = item.yoast_head_json;
|
||||
const $ = load(item.content.rendered, null, false);
|
||||
$('.wp-block-techcrunch-inline-cta').remove();
|
||||
return {
|
||||
title: item.title.rendered,
|
||||
description: art(path.join(__dirname, 'templates/description.art'), {
|
||||
|
|
|
|||
Loading…
Reference in New Issue