Migrate to npm and use 11ty

Fixes #2. Fixes #3.
This commit is contained in:
Florine W. Dekker 2021-05-08 16:38:50 +02:00
parent fe052f6f4f
commit ee6a427a0a
Signed by: FWDekker
GPG Key ID: 78B3EAF58145AF25
37 changed files with 478 additions and 1725 deletions

9
.eleventy.js Normal file
View File

@ -0,0 +1,9 @@
module.exports = () => {
return {
pathPrefix: "/error/",
dir: {
input: "src/main/",
output: "dist/",
}
};
};

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
package-lock.json binary

117
.gitignore vendored Normal file
View File

@ -0,0 +1,117 @@
## Node
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.pnp.*

114
Gruntfile.js Normal file
View File

@ -0,0 +1,114 @@
const path = require("path");
module.exports = grunt => {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
clean: {
default: ["dist/"],
},
exec: {
eleventy: "npx @11ty/eleventy",
},
focus: {
dev: {
include: ["js", "json", "md", "njk"],
},
},
replace: {
dev: {
src: ["./dist/**/*.html", "./dist/**/*.js"],
replacements: [
{
from: "%%VERSION_NUMBER%%",
to: "<%= pkg.version %>+" + new Date().toISOString().slice(0, 19).replace(/[-:T]/g, "")
}
],
overwrite: true
},
deploy: {
src: ["./dist/**/*.html", "./dist/**/*.js"],
replacements: [
{
from: "%%VERSION_NUMBER%%",
to: "<%= pkg.version %>"
}
],
overwrite: true
},
},
watch: {
js: {
files: ["src/main/**/*.js"],
tasks: ["webpack:dev", "replace:dev"],
},
json: {
files: ["src/main/**/*.json"],
tasks: ["exec:eleventy", "replace:dev"],
},
md: {
files: ["src/main/**/*.md"],
tasks: ["exec:eleventy", "replace:dev"],
},
njk: {
files: ["src/main/**/*.njk"],
tasks: ["exec:eleventy", "replace:dev"],
},
},
webpack: {
options: {
entry: "./src/main/js/main.js",
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
},
],
},
resolve: {
extensions: [".js"],
},
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "dist/"),
},
},
dev: {
mode: "development",
devtool: "inline-source-map",
},
deploy: {
mode: "production",
},
},
});
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks("grunt-exec");
grunt.loadNpmTasks("grunt-focus");
grunt.loadNpmTasks("grunt-text-replace");
grunt.loadNpmTasks("grunt-webpack");
grunt.registerTask("dev", [
// Pre
"clean",
// Generate site
"exec:eleventy",
// Compile JS
"webpack:dev",
"replace:dev",
]);
grunt.registerTask("dev:server", ["dev", "focus:dev"]);
grunt.registerTask("deploy", [
// Pre
"clean",
// Generate site
"exec:eleventy",
// Compile JS
"webpack:deploy",
"replace:deploy",
]);
grunt.registerTask("default", ["dev"]);
};

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Felix W. Dekker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,2 +1,23 @@
# Error pages
The error pages used on [fwdekker.com](https://fwdekker.com/) (and probably some related domains as well).
## Development
### Requirements
* [npm](https://www.npmjs.com/)
### Setting up
```shell script
# Install dependencies (only needed once)
$> npm ci
```
### Building
```shell script
# Build the blog in `dist/` for development
$> npm run dev
# Build the blog in `dist/` for deployment
$> npm run deploy
```
You may need to change the `pathprefix` option of Eleventy when using WebStorm so that the root of the blog is changed
to `/error-pages/dist/` instead of `/`.

69
dist/400.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Bad request | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Bad request</b> (400)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

70
dist/401.html vendored
View File

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Unauthorized | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Unauthorized</b> (401)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/402.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Payment required | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Payment required</b> (402)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/403.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Access forbidden | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Access forbidden</b> (403)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/404.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>File not found | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>File not found</b> (404)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/405.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Internal server error | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Internal server error</b> (405)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/406.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Not acceptable | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Not acceptable</b> (406)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/407.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Proxy authentication required | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Proxy authentication required</b> (407)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/408.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Request timeout | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Request timeout</b> (408)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/409.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Conflict | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Conflict</b> (409)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/410.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Gone | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Gone</b> (410)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/411.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Length required | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Length required</b> (411)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/412.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Precondition required | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Precondition required</b> (412)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/413.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Request entity too large | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Request entity too large</b> (413)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/414.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Request URI too long | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Request URI too long</b> (414)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/415.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Unsupported media type | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Unsupported media type</b> (415)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/416.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Requested range not satisfiable | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Requested range not satisfiable</b> (416)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

68
dist/417.html vendored
View File

@ -1,68 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Expectation failed | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Expectation failed</b> (417)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</html>

69
dist/451.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Unavailable for legal reasons | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Unavailable for legal reasons</b> (451)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/500.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Internal server error | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Internal server error</b> (500)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/501.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Not implemented | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Not implemented</b> (501)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/502.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Bad gateway | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Bad gateway</b> (502)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/503.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Service unavailable | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Service unavailable</b> (503)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/504.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>Gateway timeout | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>Gateway timeout</b> (504)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

69
dist/505.html vendored
View File

@ -1,69 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Felix W. Dekker" />
<meta name="theme-color" content="#0033cc" />
<title>HTTP version not supported | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" crossorigin="anonymous" />
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 50%;
min-width: 400px;
min-height: 100%;
}
#contents {
flex: 1;
margin: 5rem 0;
}
footer {
color: #606c76;
margin-bottom: 3rem;
}
</style>
</head>
<body>
<main>
<section id="contents">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>HTTP version not supported</b> (505)<br /><br />
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
<footer>
Made by <a href="https://fwdekker.com/">F.W.&nbsp;Dekker</a><span>.
Licensed under the
<a href="https://git.fwdekker.com/FWDekker/error-pages/src/branch/master/LICENSE">MIT License</a>.
Source code available on </span><a href="https://git.fwdekker.com/FWDekker/error-pages/">git</a>.
Consider reading the <a href="https://fwdekker.com/privacy/">privacy policy</a>.
<div style="float: right;">v1.2.2</div>
</footer>
</main>
</body>
</html>

BIN
package-lock.json generated Normal file

Binary file not shown.

31
package.json Normal file
View File

@ -0,0 +1,31 @@
{
"name": "error-pages",
"version": "1.3.0",
"description": "Error pages for my website.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",
"repository": {
"type": "git",
"url": "git@git.fwdekker.com:FWDekker/error-pages.git"
},
"private": true,
"scripts": {
"clean": "grunt clean",
"dev": "grunt dev",
"dev:server": "grunt dev:server",
"deploy": "grunt deploy"
},
"devDependencies": {
"@11ty/eleventy": "^0.12.1",
"grunt": "^1.4.0",
"grunt-cli": "^1.4.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0",
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.3",
"webpack": "^5.36.2",
"webpack-cli": "^4.7.0"
}
}

View File

@ -0,0 +1,102 @@
[
{
"name": "Bad request",
"code": "400"
},
{
"name": "Unauthorized",
"code": "401"
},
{
"name": "Payment required",
"code": "402"
},
{
"name": "Access forbidden",
"code": "403"
},
{
"name": "File not found",
"code": "404"
},
{
"name": "Internal server error",
"code": "405"
},
{
"name": "Not acceptable",
"code": "406"
},
{
"name": "Proxy authentication required",
"code": "407"
},
{
"name": "Request timeout",
"code": "408"
},
{
"name": "Conflict",
"code": "409"
},
{
"name": "Gone",
"code": "410"
},
{
"name": "Length required",
"code": "411"
},
{
"name": "Precondition required",
"code": "412"
},
{
"name": "Request entity too large",
"code": "413"
},
{
"name": "Request URI too long",
"code": "414"
},
{
"name": "Unsupported media type",
"code": "415"
},
{
"name": "Requested range not satisfiable",
"code": "416"
},
{
"name": "Expectation failed",
"code": "417"
},
{
"name": "Unavailable for legal reasons",
"code": "451"
},
{
"name": "Internal server error",
"code": "500"
},
{
"name": "Not implemented",
"code": "501"
},
{
"name": "Bad gateway",
"code": "502"
},
{
"name": "Service unavailable",
"code": "503"
},
{
"name": "Gateway timeout",
"code": "504"
},
{
"name": "HTTP version not supported",
"code": "505"
}
]

5
src/main/_data/site.json Normal file
View File

@ -0,0 +1,5 @@
{
"baseurl": "/",
"title": "FWDekker",
"author": "Felix W. Dekker"
}

11
src/main/js/main.js Normal file
View File

@ -0,0 +1,11 @@
// noinspection JSUnresolvedVariable
const {$, doAfterLoad, footer, nav} = window.fwdekker;
doAfterLoad(() => {
$("#nav").appendChild(nav("/"));
$("#footer").appendChild(footer({
vcsURL: "https://git.fwdekker.com/FWDekker/error-pages/",
version: "v%%VERSION_NUMBER%%"
}));
});

46
src/main/template.njk Normal file
View File

@ -0,0 +1,46 @@
---
pagination:
data: error-pages
size: 1
alias: errorPage
permalink: "{{ errorPage.code | slug }}.html"
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="{{ site.author }}" />
<meta name="application-name" content="{{ site.title }}" />
<meta name="theme-color" content="#0033cc" />
<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/2.x.x/template.css" />
</head>
<body>
<noscript>
<p>
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> <!-- No need to hide if JS disabled -->
<div id="nav"></div>
<div id="contents">
<section class="container">
<h3>{{ errorPage.name }} <small>({{ errorPage.code }})</small></h3>
Sorry for the inconvenience.
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
</div>
<div id="footer"></div>
</main>
<script src="https://static.fwdekker.com/lib/template/2.x.x/template.js"></script>
<!--suppress HtmlUnknownTarget -->
<script src="{{ '/bundle.js?v=%%VERSION_NUMBER%%' | url }}"></script>
</body>
</html>