diff --git a/WebHostLib/static/assets/tutorial.js b/WebHostLib/static/assets/tutorial.js index 23d2f076..39fc3569 100644 --- a/WebHostLib/static/assets/tutorial.js +++ b/WebHostLib/static/assets/tutorial.js @@ -27,6 +27,11 @@ window.addEventListener('load', () => { tutorialWrapper.innerHTML += (new showdown.Converter()).makeHtml(results); adjustHeaderWidth(); + const title = document.querySelector('h1') + if (title) { + document.title = title.textContent; + } + // Reset the id of all header divs to something nicer const headers = Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6')); const scrollTargetIndex = window.location.href.search(/#[A-z0-9-_]*$/); diff --git a/WebHostLib/templates/check.html b/WebHostLib/templates/check.html index 64f19b0f..04b51340 100644 --- a/WebHostLib/templates/check.html +++ b/WebHostLib/templates/check.html @@ -1,7 +1,6 @@ {% extends 'pageWrapper.html' %} {% block head %} - {{ super() }}