diff --git a/src/moin/themes/focus/static/js/main.js b/src/moin/themes/focus/static/js/main.js index d13291de5..9041289dc 100644 --- a/src/moin/themes/focus/static/js/main.js +++ b/src/moin/themes/focus/static/js/main.js @@ -1,4 +1,5 @@ window.onload = function () { + "use strict"; const headers = [] const h1 = document.querySelectorAll("#moin-content-data h1") const h2 = document.querySelectorAll("#moin-content-data h2") diff --git a/src/moin/themes/focus/templates/layout.html b/src/moin/themes/focus/templates/layout.html index 879951b3c..c86d435af 100644 --- a/src/moin/themes/focus/templates/layout.html +++ b/src/moin/themes/focus/templates/layout.html @@ -13,7 +13,6 @@ {% set credits = snippets.credits() %} {% block layout %} -
{{ before_header }}
@@ -183,3 +182,8 @@
{% endblock %} + +{% block body_scripts %} + {{ super() }} + +{% endblock %}