fix(route): remove rich block (#20116)
Co-authored-by: yifan.wang1004 <yifan.wang1004@bytedance.com>
This commit is contained in:
@@ -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'), {
|
||||
|
||||
Reference in New Issue
Block a user