From a7778d54d42322ec5c04fcdf91246c41549eb13b Mon Sep 17 00:00:00 2001 From: Litruv Date: Mon, 10 Feb 2025 00:05:37 +1100 Subject: [PATCH] update to use metadata.site_name --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 199e785..1a1efe4 100644 --- a/index.js +++ b/index.js @@ -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);