commit 9b4da2bd95fc93bf717b50b7c5470cf0c15db878
parent afed744706a6625e45e589bba4ad01560ce99e3d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 25 Sep 2026 20:58:32 -0400
export: the hub's synthesized Site carries wordmarkLead "Archi" (brand S0)
hubSite() sets wordmarkLead: PROJECT_WORDMARK_LEAD, so the header the hub
reuses splits its wordmark as Archi|lyzer once S1 renders it. The parse
drops it if the operator's homepage.json header title does not start with it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/export/app/lib/site.ts b/export/app/lib/site.ts
@@ -10,6 +10,7 @@ import {
getHomepageConfig,
resolveHomepageSocialLinks,
} from "yt-dlp-transcript-common/lib/homepage";
+import { PROJECT_WORDMARK_LEAD } from "yt-dlp-transcript-common/lib/project";
// The export app builds ONE site at a time, selected by the SITE_ID env var
// (set by the build:site script). At dev time SITE_ID may be unset; we then
@@ -24,7 +25,7 @@ import {
// In hub mode the app has no single Site — its branding is the instance-level
// HomepageConfig ("Archilyzer"). Synthesize a Site from it so layout/manifest/
// Header/Footer keep working unchanged (no channels/groups; the hub ships a PWA
-// by default). Read INSTANCE_MODE directly here rather than importing mode.ts,
+// by default; its wordmark splits as the project's own). Read INSTANCE_MODE directly here rather than importing mode.ts,
// which imports currentSite() (would be a cycle).
function hubSite(): Site {
const cfg = getHomepageConfig();
@@ -32,6 +33,10 @@ function hubSite(): Site {
siteTitle: cfg.siteTitle,
siteDescription: cfg.siteDescription,
headerTitle: cfg.headerTitle,
+ // "Archi" + "lyzer". Dropped by the parse (whole title heavy) if the
+ // operator's homepage.json retitles the header to something it does not
+ // start.
+ wordmarkLead: PROJECT_WORDMARK_LEAD,
homeTagline: cfg.homeTagline,
...(cfg.siteUrl ? { siteUrl: cfg.siteUrl } : {}),
socialLinks: resolveHomepageSocialLinks(cfg),