Add FAQ on how to use Scribe with custom domains

This is generic so as to not call out any specific website.
This commit is contained in:
Edward Loveall 2021-12-04 14:05:15 -05:00
parent 9f2b2a6096
commit e365ee8be5
No known key found for this signature in database
GPG Key ID: 789A4AE983AC8901
1 changed files with 31 additions and 0 deletions

View File

@ -9,6 +9,7 @@ class Faq::IndexPage < MainLayout
auto_redirect
why_would_i_want_this
other_instances
custom_domains
mount Shared::LayoutFooter
end
end
@ -99,4 +100,34 @@ class Faq::IndexPage < MainLayout
end
end
end
private def custom_domains
section do
h2 "What about Medium articles on custom domains?"
para do
text <<-TEXT
Scribe can read these also. The URL just needs to end with the
characters at the end of the URL called the Post ID. Here's an
example:
TEXT
end
para do
code "example.com/my-post-"
code "09a6af907a2", class: "highlight"
text " can be converted to "
br
code app_domain
code "/my-post-"
code "09a6af907a2", class: "highlight"
end
para do
text <<-TEXT
To redirect automatically, follow the intructions above to on how to
redirect medium articles. Replace
TEXT
code " medium\\.com"
text " with the domain of your choosing."
end
end
end
end