From 8965565e1813311122d5bfbec66b7ffc15e0bda7 Mon Sep 17 00:00:00 2001 From: QihanNX Date: Tue, 16 Jun 2026 00:05:07 +0800 Subject: [PATCH] Update PostLayout.astro --- src/layouts/PostLayout.astro | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro index 556b853..b29ab9f 100644 --- a/src/layouts/PostLayout.astro +++ b/src/layouts/PostLayout.astro @@ -17,7 +17,7 @@ const { title, description, ogImage, canonicalURL, pubDatetime, modDatetime } = const commentPath = Astro.url.pathname; -const structuredData = { /* 保持不变 */ }; +const structuredData = { /* ...保持不变... */ }; --- @@ -29,11 +29,11 @@ const structuredData = { /* 保持不变 */ }; - - - {commentPath.startsWith("/posts/") && ( -
- -
- )}
+ + +{commentPath.startsWith("/posts/") && ( +
+ +
+)}