fix(route): remove rich block (#20116)

Co-authored-by: yifan.wang1004 <yifan.wang1004@bytedance.com>
This commit is contained in:
Ethan
2025-09-22 17:29:30 +08:00
committed by GitHub
co-authored by yifan.wang1004
parent d5294048ad
commit 84c92e4e60
+1
View File
@@ -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'), {