Upgrade template to v3

This commit is contained in:
Florine W. Dekker 2022-11-24 17:45:21 +01:00
parent b181230215
commit 6a531491c0
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
3 changed files with 21 additions and 16 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{ {
"name": "error-pages", "name": "error-pages",
"version": "1.3.4", "version": "1.3.5",
"description": "Error pages for my website.", "description": "Error pages for my website.",
"author": "Florine W. Dekker", "author": "Florine W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",
@ -16,10 +16,10 @@
"deploy": "grunt deploy" "deploy": "grunt deploy"
}, },
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^1.0.0", "@11ty/eleventy": "^1.0.2",
"grunt": "^1.4.1", "grunt": "^1.5.3",
"grunt-cli": "^1.4.3", "grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.0", "grunt-contrib-clean": "^2.0.1",
"grunt-contrib-watch": "^1.1.0", "grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0", "grunt-exec": "^3.0.0",
"grunt-focus": "^1.0.0", "grunt-focus": "^1.0.0",

View File

@ -22,29 +22,34 @@ permalink: "{{ errorPage.code | slugify }}.html"
<title>{{ errorPage.name }} | FWDekker</title> <title>{{ errorPage.name }} | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" /> <link rel="stylesheet" href="https://static.fwdekker.com/lib/template/3.x.x/template.css?v=%%VERSION_NUMBER%%" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />
</head> </head>
<body> <body>
<noscript> <noscript class="fwd-js-notice">
<p> <p>
This website does not function fully if JavaScript is disabled. This website does not function fully if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/"> Please check the <a href="https://www.enable-javascript.com/">
instructions on how to enable JavaScript in your web browser</a>. instructions on how to enable JavaScript in your web browser</a>.
</p> </p>
</noscript> </noscript>
<main> <!-- No need to hide if JS disabled --> <nav id="nav"></nav>
<div id="nav"></div> <main class="container"> <!-- No need to hide if JS disabled -->
<div id="contents"> <div role="document">
<section class="container"> <section>
<h3>{{ errorPage.name }} <small>({{ errorPage.code }})</small></h3> <header class="fwd-header">
Sorry for the inconvenience. <hgroup>
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>. <h1>{{ errorPage.name }} <small>({{ errorPage.code }})</small></h1>
<h2>
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</h2>
</hgroup>
</header>
</section> </section>
<footer id="footer"></footer>
</div> </div>
<div id="footer"></div>
</main> </main>
<script src="https://static.fwdekker.com/lib/template/2.x.x/template.js"></script> <script src="https://static.fwdekker.com/lib/template/3.x.x/template.js?v=%%VERSION_NUMBER%%"></script>
</body> </body>
</html> </html>