fix: 404s
This commit is contained in:
parent
3698ee477c
commit
2443feff31
3 changed files with 24 additions and 2 deletions
24
netlify.toml
24
netlify.toml
|
@ -126,4 +126,26 @@ status = 301
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/2023/01/workflows-handling-inbound-email-on-fastmail-with-regular-expressions"
|
from = "/2023/01/workflows-handling-inbound-email-on-fastmail-with-regular-expressions"
|
||||||
to = "/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt/"
|
to = "/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt/"
|
||||||
status = 301
|
status = 301
|
||||||
|
|
||||||
|
###
|
||||||
|
# SITE REWRITES
|
||||||
|
###
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/feeds/all.xml"
|
||||||
|
to = "/feed.xml"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/favicon.ico"
|
||||||
|
to = "/assets/img/favicon/favicon.ico"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/static/favicons/apple-touch-icon.png"
|
||||||
|
to = "/assets/img/favicon/apple-touch-icon.png"
|
||||||
|
status = 200
|
||||||
|
force = true
|
BIN
src/assets/img/favicon/favicon.ico
Normal file
BIN
src/assets/img/favicon/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -5,7 +5,7 @@ permalink: '/feed.json'
|
||||||
{
|
{
|
||||||
"version": "https://jsonfeed.org/version/1",
|
"version": "https://jsonfeed.org/version/1",
|
||||||
"title": "All posts • Cory Dransfeldt",
|
"title": "All posts • Cory Dransfeldt",
|
||||||
"icon": "https://coryd.dev/static/images/avatar.webp",
|
"icon": "https://coryd.dev/assets/img/avatar.webp",
|
||||||
"home_page_url": "https://coryd.dev",
|
"home_page_url": "https://coryd.dev",
|
||||||
"feed_url": "https://coryd.dev/feed.json",
|
"feed_url": "https://coryd.dev/feed.json",
|
||||||
"items": [{% for item in posts %}
|
"items": [{% for item in posts %}
|
||||||
|
|
Reference in a new issue