remove dependency on JS for menu and theme toggle

This commit is contained in:
recanman 2023-10-15 16:40:48 -07:00
parent 706171b42e
commit ffa3d1aacf
9 changed files with 111 additions and 122 deletions

View file

@ -4,15 +4,13 @@
{% include head.html %}
<body>
{% include theme-switcher.html %}
<div id="wrap">
<!-- Navigation -->
{% include menu-toggle.html %}
{% include menu.html %}
<!-- Icon menu -->
<a {% if site.reverse == true %}id="nav-menu-left"{% else %}id="nav-menu"{% endif %}>
<div id="menu"></div>
</a>
<!-- Header -->
{% if site.custom_header == true %}

View file

@ -4,16 +4,14 @@
{% include head.html %}
<body>
{% include theme-switcher.html %}
<div id="wrap">
<div id="periodical">
<!-- Navigation -->
{% include menu-toggle.html %}
{% include menu.html %}
<!-- Icon menu -->
<a {% if site.reverse == true %}id="nav-menu-left"{% else %}id="nav-menu"{% endif %}>
<div id="menu"></div>
</a>
<!-- Header -->
{% if site.custom_header == true %}

View file

@ -4,17 +4,15 @@
{% include head.html %}
<body>
{% include theme-switcher.html %}
<div id="wrap">
<div id="weekly">
<!-- Navigation -->
{% include menu-toggle.html %}
{% include menu.html %}
<!-- Icon menu -->
<a {% if site.reverse == true %}id="nav-menu-left"{% else %}id="nav-menu"{% endif %}>
<div id="menu"></div>
</a>
<!-- Header -->
{% if site.custom_header == true %}
{% include header-custom.html %}