Ensure that the navbar works without JS
This commit is contained in:
parent
f356028ee4
commit
e2c9f291b5
5 changed files with 13 additions and 4 deletions
source/_layouts
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="no-js" lang="en-GB">
|
||||
<html lang="en-GB">
|
||||
<head>
|
||||
<title>{% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }}</title>
|
||||
{% include 'meta' %}
|
||||
|
@ -21,7 +21,7 @@
|
|||
{% endfor %}
|
||||
</head>
|
||||
<body class="antialiased font-sans text-gray-800 leading-relaxed">
|
||||
<div id="app" class="min-h-screen flex flex-col">
|
||||
<div id="app" class="min-h-screen flex flex-col no-js">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue