core: Add noscript.

This commit is contained in:
Teffen Ellis
2025-04-17 01:58:14 +02:00
parent 51609d696d
commit 2797d26b93

View File

@ -28,5 +28,23 @@
{% endblock %}
{% block scripts %}
{% endblock %}
<noscript>
<style>
body {
font-family: var(--ak-font-family-base), sans-serif;
}
</style>
<h1>
JavaScript is required to use
{% trans title|default:brand.branding_title %}
</h1>
<p>
Please enable JavaScript in your browser settings and reload the page.
If you are using a browser extension that blocks JavaScript, please disable it for this site.
</p>
</noscript>
</body>
</html>