From f7e82ffd03092dd34f2d3aaeb06e35378aaf02b1 Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Tue, 4 Jan 2022 21:16:56 -0500 Subject: [PATCH] Home page instructions for custom domains --- src/pages/home/index_page.cr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/pages/home/index_page.cr b/src/pages/home/index_page.cr index 7fd0545..92a082b 100644 --- a/src/pages/home/index_page.cr +++ b/src/pages/home/index_page.cr @@ -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"