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
1 changed files with 15 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class Home::IndexPage < MainLayout
href: "/@ftrain/big-data-small-effort-b62607a43a8c"
)
end
para "Custom domains work the too. See below for a How-To."
article do
section do
h2 "How-To"
@ -33,6 +34,20 @@ class Home::IndexPage < MainLayout
text "/@user/my-post-09a6af907a2"
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
section do
h2 "How-To Automatically"