From 65c6273dd8ef82968e804e8c2219b9ad8e57217c Mon Sep 17 00:00:00 2001 From: AnnatarHe Date: Fri, 31 Jul 2026 01:16:23 +0800 Subject: [PATCH] feat(posts): add EP72 YoooClaw episode --- src/components/VideoEmbed.astro | 23 ++++++++---- src/content/posts/ep72.mdx | 64 +++++++++++++++++++++++++++++++++ src/pages/posts/[...slug].astro | 45 ++++++++++++++--------- 3 files changed, 109 insertions(+), 23 deletions(-) create mode 100644 src/content/posts/ep72.mdx diff --git a/src/components/VideoEmbed.astro b/src/components/VideoEmbed.astro index 54de916..c3af5e6 100644 --- a/src/components/VideoEmbed.astro +++ b/src/components/VideoEmbed.astro @@ -3,17 +3,26 @@ import { YouTube } from '@astro-community/astro-embed-youtube' interface Props { youtubeId: string - bilibiliUrl: string + bilibiliUrl?: string } const { youtubeId, bilibiliUrl } = Astro.props --- -
+
- + { + bilibiliUrl && ( +