1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Clean up redirects

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-07-10 12:04:55 +12:00
parent ff2f601e86
commit e7076fdf88
2 changed files with 10 additions and 10 deletions

View File

@@ -291,7 +291,7 @@ theme:
primary: 'black'
accent: 'orange'
toggle:
icon: material/toggle-switch
icon: material/brightness-7
name: Burn my eyes!
# Toggle dark mode
@@ -300,7 +300,7 @@ theme:
primary: 'black'
accent: 'orange'
toggle:
icon: material/toggle-switch-off-outline
icon: material/brightness-4
name: Love my eyes!
font:

View File

@@ -2,22 +2,22 @@
https://geeks-cookbook.funkypenguin.co.nz/* https://geek-cookbook.funkypenguin.co.nz/:splat 301!
# Because it took me about a year to realize I was spelling "Recipes" wrong!
https://geek-cookbook.funkypenguin.co.nz/recipies/* https://geek-cookbook.funkypenguin.co.nz/recipes/:splat 301!
/recipies/* /recipes/:splat 301!
# Recipes is plural
/recipe/* /recipes/:splat 301!
# Proxy plausible analytics per https://plausible.io/docs/proxy/guides/netlify
/js/i-am-groot.js https://plausible.io/js/plausible.outbound-links.js 200
/api/event https://plausible.io/api/event 202
/js/i-am-groot.js https://plausible.io/js/plausible.outbound-links.js 200
/api/event https://plausible.io/api/event 202
# Now we have indexs on subfolders, we can use a better URL for docker-swarm
/docker-swarm/design /docker/swarm 301!
# Now we have indexes on subfolders, we can use a better URL for docker-swarm
/docker-swarm/design /docker-swarm 301!
/ha-docker-swarm/design /docker-swarm 301!
# Prefer "docker-swarm" to "ha-docker-swarm"
/ha-docker-swarm/* /docker-swarm/:splat 301!
# Recipes is plural now
/recipe/* /recipes/:splat 301!
# Old backlinks which we need to redirect to working URLs
/kubernetes/start/ /kubernetes/ 301!
/kubernetes/diycluster/ /kubernetes/cluster/ 301!