Add automatic redirect instructions to homepage

This commit is contained in:
Edward Loveall 2021-10-10 15:05:56 -04:00
parent dbddfc9cb4
commit 91687bb689
No known key found for this signature in database
GPG key ID: 789A4AE983AC8901

View file

@ -27,6 +27,38 @@ class Home::IndexPage < MainLayout
end end
end end
end end
section do
h2 "How-To Automatically"
para do
text "If you don't want to manually change the URL every time, you can use an extension to do it for you. "
a "This extension", href: "https://einaregilsson.com/redirector/"
text " works well across most browsers."
end
para "Once installed, create a new redirect with the following settings:"
ul do
li do
strong "Description: "
code "Medium -> Scribe"
end
li do
strong "Example URL: "
code "https://medium.com/@user/post-123456abcdef"
end
li do
strong "Include pattern: "
code ".*medium.com/(.*)"
end
li do
strong "Redirect to: "
code "https://scribe.rip/$1"
end
li do
strong "Pattern type: "
code "( ) Wildcard (•) Regular Expression"
end
end
para "Visiting any medium.com site (including user.medium.com subdomains) should now redirect to Scribe instead!"
end
section do section do
footer do footer do
para do para do