Skip to content

Commit

Permalink
fix: dark mode doesn't work in other layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
zuramai committed Jan 16, 2023
1 parent 21a4171 commit 3a83ba0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/layouts/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</head>

<body>
<script src="assets/js/initTheme.js"></script>
<div id="error">
{% block content %}{% endblock %}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/layouts/horizontal.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
</head>

<body>
<script src="assets/js/initTheme.js"></script>
<div id="app">
<div id="main" class="layout-horizontal">
<header class="mb-5">
Expand Down
1 change: 1 addition & 0 deletions src/layouts/vertical-1-column.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</head>

<body>
<script src="assets/js/initTheme.js"></script>
<nav class="navbar navbar-light">
<div class="container d-block">
<a href="index.html"><i class="bi bi-chevron-left"></i></a>
Expand Down
1 change: 1 addition & 0 deletions src/layouts/vertical-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
</head>

<body>
<script src="assets/js/initTheme.js"></script>
<div id="app">
<div id="sidebar" class="active">
{% include "layouts/sidebar.html" %}
Expand Down

0 comments on commit 3a83ba0

Please sign in to comment.