class Faq::IndexPage < MainLayout def page_title "Scribe FAQ" end def content h1 "Frequently Asked Questions" article do auto_redirect why_would_i_want_this other_instances mount Shared::LayoutFooter end end private def auto_redirect section do h2 "How-to Automatically Redirect Medium Articles" 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 "^https?://(?:.*\\.)*(?