chore: redirects
This commit is contained in:
parent
c815dbc062
commit
6747037740
3 changed files with 20 additions and 1 deletions
10
_redirects
10
_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!
|
||||
|
|
|
@ -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',
|
||||
|
|
9
src/pages/400.html
Normal file
9
src/pages/400.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: 400
|
||||
layout: default
|
||||
permalink: /400.html
|
||||
---
|
||||
<div class="text--centered">
|
||||
<h2 class="page__header">{{ title }}</h2>
|
||||
<p>Nah, that's a bad request.</p>
|
||||
</div>
|
Reference in a new issue