mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-25 19:26:08 +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
|
// Add this line to populate author info
|
||||||
this.populateAuthorInfo(data.author);
|
this.populateAuthorInfo(data.author);
|
||||||
|
|
||||||
window.originalDocTitle = data.title || 'Documentation';
|
window.originalDocTitle = data.metadata.site_name || 'Documentation';
|
||||||
document.title = window.originalDocTitle;
|
document.title = window.originalDocTitle;
|
||||||
|
|
||||||
this.domService.elements.fileIndex.innerHTML = '';
|
this.domService.elements.fileIndex.innerHTML = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user