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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user