feat(seo): Phase 2 — route-level metadata service and JSON-LD structured data #6

Merged
kfj001 merged 2 commits from feat/seo-phase2-metadata-structured-data into main 2026-08-05 11:18:49 -07:00
Showing only changes of commit c61162bff4 - Show all commits
+2 -2
View File
@@ -323,8 +323,8 @@ export class SeoService {
return; return;
} }
const tag: Record<string, string> = { content }; const tag: Record<string, string> = { content };
if (attrName === 'name') tag.name = attrValue; if (attrName === 'name') tag['name'] = attrValue;
else if (attrName === 'property') tag.property = attrValue; else if (attrName === 'property') tag['property'] = attrValue;
else if (attrName === 'http-equiv') tag['http-equiv'] = attrValue; else if (attrName === 'http-equiv') tag['http-equiv'] = attrValue;
this.metaService.updateTag(tag); this.metaService.updateTag(tag);
} }