diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e03550f..355342b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,6 +56,7 @@ jobs: # Docs: test -f ./out/l7-dark/404.html test -f ./out/l7-light/404.html test -f ./out/shuffle/404.html + test -f ./out/noise/404.html docker-build: name: Build docker image diff --git a/CHANGELOG.md b/CHANGELOG.md index cba78a2..efdcb30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,18 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. -## UNRELEASED +## v1.6.0 + +### Added + +- Template `noise` [#10] ### Fixed - File permissions in docker image +[#10]:https://github.com/tarampampam/error-pages/issues/10 + ## v1.5.0 ### Changed diff --git a/README.md b/README.md index 7cf057e..c692af1 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ Generated pages (from the latest release) always **[accessible here][link_gh_pag `l7-light` | ![l7-light](https://hsto.org/webt/xc/iq/vt/xciqvty-aoj-rchfarsjhutpjny.png) `l7-dark` | ![l7-dark](https://hsto.org/webt/s1/ih/yr/s1ihyrqs_y-sgraoimfhk6ypney.png) `shuffle` | ![shuffle](https://hsto.org/webt/7w/rk/3m/7wrk3mrzz3y8qfqwovmuvacu-bs.gif) +`noise` | ![noise](https://hsto.org/webt/42/oq/8y/42oq8yok_i-arrafjt6hds_7ahy.gif) + +> Note: `noise` template highly uses the CPU, be careful ## Usage diff --git a/config.json b/config.json index 2ef2e7a..11b520f 100644 --- a/config.json +++ b/config.json @@ -15,6 +15,10 @@ { "name": "shuffle", "path": "./templates/shuffle.html" + }, + { + "name": "noise", + "path": "./templates/noise.html" } ], "output": { diff --git a/templates/noise.html b/templates/noise.html new file mode 100644 index 0000000..06d2d24 --- /dev/null +++ b/templates/noise.html @@ -0,0 +1,164 @@ + + + + + + + + {{ code }}: {{ message }} + + + + +
+
+

{{ code }}

+

{{ description }}

+
+
+ +
+
+
+
+
+ + + + + +