We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02b43e commit b0e206bCopy full SHA for b0e206b
src/app/posts/[slug]/page.tsx
@@ -69,7 +69,7 @@ export default async function Page({ params }: PageProps) {
69
<html lang={post.lang} suppressHydrationWarning>
70
<body>
71
<StatsCollection />
72
- <SiteHeader />
+ <SiteHeader lang={post.lang === "zh-HK" ? "zh-HK" : "en"} />
73
<PostHeader post={post} />
74
<div className="markdown-body" dangerouslySetInnerHTML={{ __html: post.content }} />
75
<SiteFooter />
0 commit comments