-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
890ce74
commit f302052
Showing
2 changed files
with
115 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<html lang="" data-bs-theme="light"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
@@ -8,10 +8,18 @@ | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"> | ||
<title>Boiler Books</title> | ||
</head> | ||
<body data-bs-theme="light"> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but Boiler Books doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<script> | ||
// load the stored theme (if exists) first to avoid some flashes | ||
const theme = localStorage.getItem("bb_bs_theme"); | ||
if (theme !== null) | ||
{ | ||
document.documentElement.setAttribute('data-bs-theme', theme); | ||
} | ||
</script> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters