Home page instructions for custom domains

This commit is contained in:
Edward Loveall 2022-01-04 21:16:56 -05:00
parent 6ea0586423
commit f7e82ffd03
No known key found for this signature in database
GPG key ID: 789A4AE983AC8901

View file

@ -12,6 +12,7 @@ class Home::IndexPage < MainLayout
href: "/@ftrain/big-data-small-effort-b62607a43a8c" href: "/@ftrain/big-data-small-effort-b62607a43a8c"
) )
end end
para "Custom domains work the too. See below for a How-To."
article do article do
section do section do
h2 "How-To" h2 "How-To"
@ -33,6 +34,20 @@ class Home::IndexPage < MainLayout
text "/@user/my-post-09a6af907a2" text "/@user/my-post-09a6af907a2"
end end
end end
para do
text "For articles on custom domains, instead of replacing "
code "medium.com", class: "highlight"
text " replace the custom domain. E.g. instead of "
code do
span "customdomain.com", class: "highlight"
text "/blog/my-post-09a6af907a2"
end
text " change it to "
code do
span app_domain, class: "highlight"
text "/blog/my-post-09a6af907a2"
end
end
end end
section do section do
h2 "How-To Automatically" h2 "How-To Automatically"