From 852a4a348c8842575fd4009ec34537e4c3422da3 Mon Sep 17 00:00:00 2001 From: xylophonez Date: Thu, 2 Apr 2026 14:12:13 +0100 Subject: [PATCH] fix: prerender --- scripts/prerender-meta.mjs | 2 +- src/App.tsx | 2 +- src/styles.css | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/prerender-meta.mjs b/scripts/prerender-meta.mjs index 85875d2..ba93064 100644 --- a/scripts/prerender-meta.mjs +++ b/scripts/prerender-meta.mjs @@ -8,7 +8,7 @@ const SRC_CONFIG = path.join(ROOT, "src", "config.ts"); const DEFAULTS = { BLOG_NAME: "hyperzine", - BLOG_SITE_URL: "https://hyperzine.xyz"; + BLOG_SITE_URL: "https://hyperzine.xyz", BLOG_DEFAULT_DESCRIPTION: "hyperzine", MANIFEST_TX_ID: "" }; diff --git a/src/App.tsx b/src/App.tsx index 0767519..28b1af5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -336,7 +336,7 @@ function PostPage({

{title}

{description}

-
+
{publishedDate && Published {publishedDate}} {updatedDate && Updated {updatedDate}} {post.readingTime && {post.readingTime} min read} diff --git a/src/styles.css b/src/styles.css index 4421d7f..8cb14a4 100644 --- a/src/styles.css +++ b/src/styles.css @@ -207,6 +207,15 @@ a { transform: translateY(-50%); } +.post-meta-row > span + span::before { + content: "|"; + width: auto; + height: auto; + background: none; + top: 0; + transform: none; +} + .post { max-width: 760px; }