diff --git a/src/pages/index.astro b/src/pages/index.astro
index 207a4a0..c657f8e 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -46,14 +46,12 @@ const postsByYear = await getPostsByYear()
{/* Post Date */}
-
+
{post.data.published.toLocaleDateString('zh-CN', { year: 'numeric', month: '2-digit', day: '2-digit' }).replace(/\//g, '-')}
- {post.remarkPluginFrontmatter?.minutes && (
-
- {post.remarkPluginFrontmatter.minutes} min
-
- )}
+
+ {post.remarkPluginFrontmatter?.minutes} min
+
))}
diff --git a/src/pages/posts/[slug].astro b/src/pages/posts/[slug].astro
index 8958334..5bfd5e0 100644
--- a/src/pages/posts/[slug].astro
+++ b/src/pages/posts/[slug].astro
@@ -25,16 +25,18 @@ const { Content, remarkPluginFrontmatter } = await post.render()
postImage={post.data.image}
>
- {post.data.title}
+
+
+ {post.data.title}
+
+
diff --git a/src/styles/heti.css b/src/styles/heti.css
index 68c8756..84cefee 100644
--- a/src/styles/heti.css
+++ b/src/styles/heti.css
@@ -116,6 +116,7 @@
font-weight:600
}
.heti h1 {
+ --at-apply: 'font-bold';
margin-block-end:24px;
font-size:32px;
line-height:48px