update to use metadata.site_name

This commit is contained in:
2025-02-10 00:05:37 +11:00
parent c1c4c12c10
commit a7778d54d4

View File

@@ -616,9 +616,9 @@ class Documentation {
async loadDocument(path) {
try {
const { content, metadata, marked, title } = await this.documentService.loadDocument(path);
const { content, metadata, marked } = await this.documentService.loadDocument(path);
this.domService.setTitle(title);
this.domService.setTitle(metadata.site_name);
this.domService.setContent(marked.parse(content));
this.domService.updateActiveDocument(path);