fix: keep seo copy out of visible headings
This commit is contained in:
@@ -69,6 +69,7 @@ COPYFILE_DISABLE=1 tar --no-xattrs -czf "$ARCHIVE_PATH" \
|
|||||||
--exclude='./output/*' \
|
--exclude='./output/*' \
|
||||||
--exclude='./tsconfig.tsbuildinfo' \
|
--exclude='./tsconfig.tsbuildinfo' \
|
||||||
--exclude='./tmp-*' \
|
--exclude='./tmp-*' \
|
||||||
|
--exclude='./eversolo-seo-keyword-audit-*.md' \
|
||||||
--exclude='./*.log' \
|
--exclude='./*.log' \
|
||||||
--exclude='./npm-debug.log*' \
|
--exclude='./npm-debug.log*' \
|
||||||
--exclude='./yarn-debug.log*' \
|
--exclude='./yarn-debug.log*' \
|
||||||
|
|||||||
@@ -83,9 +83,9 @@ export function buildSeoMetadata({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function resolveSeoH1(seo: SeoOverride | null | undefined, fallback: string | null | undefined) {
|
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) {
|
export function resolveSeoIntro(_seo: SeoOverride | null | undefined, fallback: string | null | undefined) {
|
||||||
return resolveSeoText(seo?.intro, fallback)
|
return resolveSeoText(fallback)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user