diff --git a/index.js b/index.js index 00f3fed..199e785 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ fetch('index.json') .then(response => response.json()) .then(data => { - document.title = data.title || 'Documentation'; + document.title = data.metadata.title || 'Documentation'; }) .catch(error => { console.error('Error loading title:', error);