mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
populate author info on data load
This commit is contained in:
3
index.js
3
index.js
@@ -531,6 +531,9 @@ class Documentation {
|
|||||||
this.indexData = data;
|
this.indexData = data;
|
||||||
window._indexData = data;
|
window._indexData = data;
|
||||||
|
|
||||||
|
// Add this line to populate author info
|
||||||
|
this.populateAuthorInfo(data.author);
|
||||||
|
|
||||||
window.originalDocTitle = data.title || 'Documentation';
|
window.originalDocTitle = data.title || 'Documentation';
|
||||||
document.title = window.originalDocTitle;
|
document.title = window.originalDocTitle;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user