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/") && ( +
+ +
+)}