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
parent d5294048ad
commit 84c92e4e60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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'), {