diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 747c4f1a..25b7e9ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -134,6 +134,7 @@ jobs: # Docs: test -f ./out/shuffle/404.html test -f ./out/noise/404.html test -f ./out/hacker-terminal/404.html + test -f ./out/cats/404.html docker-image: name: Build docker image diff --git a/CHANGELOG.md b/CHANGELOG.md index 39e376d4..96197c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,9 @@ The format is based on [Keep a Changelog][keepachangelog] and this project adher ### Added -- Added `cat` error template +- Template `cats` [#31] + +[#31]:https://github.com/tarampampam/error-pages/pull/31 ## v2.1.0 diff --git a/README.md b/README.md index a153e62a..714f4701 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Name | Preview `shuffle` | [![shuffle](https://hsto.org/webt/7w/rk/3m/7wrk3mrzz3y8qfqwovmuvacu-bs.gif)](https://tarampampam.github.io/error-pages/shuffle/404.html) `noise` | [![noise](https://hsto.org/webt/42/oq/8y/42oq8yok_i-arrafjt6hds_7ahy.gif)](https://tarampampam.github.io/error-pages/noise/404.html) `hacker-terminal` | [![hacker-terminal](https://hsto.org/webt/5s/l0/p1/5sl0p1_ud_nalzjzsj5slz6dfda.gif)](https://tarampampam.github.io/error-pages/hacker-terminal/404.html) -`cat` | [![cat](https://http.cat/100)](https://tarampampam.github.io/error-pages/cat/100.html) +`cats` | [![cats](https://hsto.org/webt/_g/y-/ke/_gy-keqinz-3867jbw36v37-iwe.jpeg)](https://tarampampam.github.io/error-pages/cats/100.html) > Note: `noise` template highly uses the CPU, be careful diff --git a/error-pages.yml b/error-pages.yml index 0cbde494..0c3db4f9 100644 --- a/error-pages.yml +++ b/error-pages.yml @@ -10,8 +10,7 @@ templates: - path: ./templates/shuffle.html - path: ./templates/noise.html - path: ./templates/hacker-terminal.html - - path: ./templates/cat.html - name: cat + - path: ./templates/cats.html pages: 400: diff --git a/templates/cat.html b/templates/cat.html deleted file mode 100644 index 381b0c93..00000000 --- a/templates/cat.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - {{ message }} - - - - - - - - - diff --git a/templates/cats.html b/templates/cats.html new file mode 100644 index 00000000..297499b6 --- /dev/null +++ b/templates/cats.html @@ -0,0 +1,43 @@ + + + + + + + + {{ message }} + + + +
+ + {{ message }} +
+ + +