Apply admin site name and program name to visible header branding

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-11 07:57:44 -05:00
parent 4315e196e3
commit 4fcc7e6e55
4 changed files with 5 additions and 2 deletions
+2
View File
@@ -4,6 +4,8 @@
if(!r.ok)return;
const c=await r.json();
document.title=`${c.siteName} | ${c.programName}`;
const bn=document.getElementById('brandName');if(bn&&c.siteName)bn.textContent=c.siteName;
const bp=document.getElementById('brandProgram');if(bp&&c.programName)bp.textContent=c.programName;
const sub=document.getElementById('bridgeSubheadline');
if(sub&&c.bridgeSubheadline)sub.textContent=c.bridgeSubheadline;
const h=document.getElementById('bridgeHeadline');