From e3e618d3cf142eef256543c7458151e309c3871d Mon Sep 17 00:00:00 2001 From: Kacper Date: Fri, 15 Oct 2021 06:55:28 +0200 Subject: [PATCH] Add cat template (#31) --- CHANGELOG.md | 6 ++++++ README.md | 1 + error-pages.yml | 2 ++ templates/cat.html | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 templates/cat.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 55e169d..39e376d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ 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 + +### Added + +- Added `cat` error template + ## v2.1.0 ### Added diff --git a/README.md b/README.md index a7bf819..a153e62 100644 --- a/README.md +++ b/README.md @@ -64,6 +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) > Note: `noise` template highly uses the CPU, be careful diff --git a/error-pages.yml b/error-pages.yml index cfca1ab..0cbde49 100644 --- a/error-pages.yml +++ b/error-pages.yml @@ -10,6 +10,8 @@ templates: - path: ./templates/shuffle.html - path: ./templates/noise.html - path: ./templates/hacker-terminal.html + - path: ./templates/cat.html + name: cat pages: 400: diff --git a/templates/cat.html b/templates/cat.html new file mode 100644 index 0000000..381b0c9 --- /dev/null +++ b/templates/cat.html @@ -0,0 +1,36 @@ + + + + + + + + + {{ message }} + + + + + + + + +