From 6747037740abc3bea9f6f196a913d702d3aa44c9 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 23 Mar 2024 16:40:44 -0700 Subject: [PATCH] chore: redirects --- _redirects | 10 ++++++++++ config/data/tag-aliases.js | 2 +- src/pages/400.html | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/pages/400.html diff --git a/_redirects b/_redirects index 65174453..428ed7e9 100644 --- a/_redirects +++ b/_redirects @@ -42,6 +42,16 @@ /robot.txt /robots.txt 301! /-want-anything-your-ai-generates/ /posts/2024/i-dont-want-anything-your-ai-generates/ 301! +# 400s +/wp-* /400/ 400 +/blog/wp-* /400/ 400 +/cms/wp-* /400/ 400 +/site/wp-* /400/ 400 +/wordpress/wp-* /400/ 400 +/wp/wp-* /400/ 400 +/wp2/wp-* /400/ 400 +/index.php* /400/ 400 + # assets /static/images/avatar.webp /assets/img/avatar.webp 301! /assets/img/favicon/apple-touch-icon.png /assets/icons/apple-touch-icon.png 301! diff --git a/config/data/tag-aliases.js b/config/data/tag-aliases.js index 4c6e89e8..c2c7345b 100644 --- a/config/data/tag-aliases.js +++ b/config/data/tag-aliases.js @@ -17,7 +17,7 @@ export default { gmail: '#Email', grindcore: '#Grindcore', health: '#Health', - 'indie web': '#IndieWeb', + 'indie web': '#IndieWeb #SmallWeb', ios: '#iOS #Apple', javascript: '#JavaScript', 'last.fm': '#Music', diff --git a/src/pages/400.html b/src/pages/400.html new file mode 100644 index 00000000..10262aba --- /dev/null +++ b/src/pages/400.html @@ -0,0 +1,9 @@ +--- +title: 400 +layout: default +permalink: /400.html +--- +
+ +

Nah, that's a bad request.

+
\ No newline at end of file