Merge remote-tracking branch 'origin/master'
All checks were successful
ci/woodpecker/push/main Pipeline was successful
All checks were successful
ci/woodpecker/push/main Pipeline was successful
This commit is contained in:
commit
5f248b47d5
1 changed files with 5 additions and 3 deletions
|
@ -19,9 +19,6 @@
|
||||||
|
|
||||||
<!-- Navbar content -->
|
<!-- Navbar content -->
|
||||||
<div class="collapse navbar-collapse" id="navbar-content">
|
<div class="collapse navbar-collapse" id="navbar-content">
|
||||||
<script>
|
|
||||||
$(".navbar-collapse a").on("click", () => $(".navbar-collapse").collapse("hide"));
|
|
||||||
</script>
|
|
||||||
<div class="navbar-nav mr-auto" id="nav-items">
|
<div class="navbar-nav mr-auto" id="nav-items">
|
||||||
{% if page.nav %}
|
{% if page.nav %}
|
||||||
{% include {{ page.nav }} %}
|
{% include {{ page.nav }} %}
|
||||||
|
@ -29,6 +26,7 @@
|
||||||
{% include {{ layout.nav }} %}
|
{% include {{ layout.nav }} %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="navbar-text custom-control custom-checkbox">
|
<span class="navbar-text custom-control custom-checkbox">
|
||||||
<input type="checkbox" class="custom-control-input" id="dark-mode">
|
<input type="checkbox" class="custom-control-input" id="dark-mode">
|
||||||
<label class="custom-control-label" for="dark-mode">🌙 Dark Mode</label>
|
<label class="custom-control-label" for="dark-mode">🌙 Dark Mode</label>
|
||||||
|
@ -42,5 +40,9 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".navbar-collapse a").on("click", () => $(".navbar-collapse").collapse("hide"));
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue