fix: keep seo copy out of visible headings

This commit is contained in:
Codex
2026-06-02 16:54:55 +08:00
parent 03823885fe
commit 4b5808fc36
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -83,9 +83,9 @@ export function buildSeoMetadata({
}
export function resolveSeoH1(seo: SeoOverride | null | undefined, fallback: string | null | undefined) {
return resolveSeoText(seo?.h1, fallback)
return resolveSeoText(fallback, seo?.h1)
}
export function resolveSeoIntro(seo: SeoOverride | null | undefined, fallback: string | null | undefined) {
return resolveSeoText(seo?.intro, fallback)
export function resolveSeoIntro(_seo: SeoOverride | null | undefined, fallback: string | null | undefined) {
return resolveSeoText(fallback)
}