This commit is contained in:
谢宇宁
2026-11-06 00:13:27 +07:00
parent f65d10e998
commit 37411fcada
98 changed files with 958 additions and 4598 deletions
+9
View File
@@ -0,0 +1,9 @@
/** 站点品牌名。后台文案、页面标题与页脚统一使用。 */
export const SITE_NAME = "黄果短剧";
/** 后台文案里残留的旧站名统一换成 SITE_NAME。 */
const LEGACY_SITE_NAMES = /禁果短剧|91短剧|黄豆魔改短剧|黄豆短剧/g;
export function brandText(value?: string | null): string {
return (value || "").trim().replace(LEGACY_SITE_NAMES, SITE_NAME);
}