Do not hide contents if JS is disabled
This commit is contained in:
parent
229259595a
commit
eb1982d0ea
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "blog",
|
||||
"version": "1.1.10",
|
||||
"version": "1.1.11",
|
||||
"description": "Felix W. Dekker's personal blog.",
|
||||
"author": "Felix W. Dekker",
|
||||
"browser": "dist/bundle.js",
|
||||
|
@ -24,7 +24,7 @@
|
|||
"grunt-exec": "^3.0.0",
|
||||
"grunt-text-replace": "^0.4.0",
|
||||
"grunt-webpack": "^4.0.3",
|
||||
"webpack": "^5.35.1",
|
||||
"webpack": "^5.36.0",
|
||||
"webpack-cli": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
<img src="https://stats.fwdekker.com/count?p=/blog{{ page.url }}" alt="Counting pixel" />
|
||||
|
||||
<p>
|
||||
This website does not function if JavaScript is disabled.
|
||||
This website does not function fully if JavaScript is disabled.
|
||||
Please check the <a href="https://www.enable-javascript.com/">
|
||||
instructions on how to enable JavaScript in your web browser</a>.
|
||||
</p>
|
||||
</noscript>
|
||||
<main class="hidden">
|
||||
<main> <!-- No need to hide if JS disabled -->
|
||||
<div id="nav"></div>
|
||||
<div id="contents">
|
||||
<div id="header"></div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// noinspection JSUnresolvedVariable
|
||||
const {$, doAfterLoad, footer, header, nav, showPage} = window.fwdekker;
|
||||
const {$, doAfterLoad, footer, header, nav} = window.fwdekker;
|
||||
|
||||
|
||||
doAfterLoad(() => {
|
||||
|
@ -9,5 +9,4 @@ doAfterLoad(() => {
|
|||
vcsURL: "https://git.fwdekker.com/FWDekker/blog/",
|
||||
version: "v%%VERSION_NUMBER%%"
|
||||
}));
|
||||
showPage();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue