mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
found it :o
This commit is contained in:
2
index.js
2
index.js
@@ -534,7 +534,7 @@ class Documentation {
|
||||
// Add this line to populate author info
|
||||
this.populateAuthorInfo(data.author);
|
||||
|
||||
window.originalDocTitle = data.title || 'Documentation';
|
||||
window.originalDocTitle = data.metadata.site_name || 'Documentation';
|
||||
document.title = window.originalDocTitle;
|
||||
|
||||
this.domService.elements.fileIndex.innerHTML = '';
|
||||
|
||||
Reference in New Issue
Block a user