Blog move successful!

I think it worked!

Here are the rough steps I took to move my blog:

  1. Clone the 11ty blog template and get it roughly into shape.
  2. Push the repo to Gitlab.
  3. Set up a Cloudflare Pages application and connect it to the Gitlab repo.
  4. Download the Markdown export from Bear Blog and copy all the files into content/blog.
  5. Fix the issues with the export (see my post), convert Bear's published_date: to 11ty's date:, etc.
  6. Write a script to create my Cloudflare Pages redirects, because cool URLs don't change (or at least don't stop working).
  7. Publish the site to a test subdomain, like spike.sals.place.
    • Because I manage my domain name in Cloudflare already, Cloudflare Pages made this wonderfully easy. I literally just typed "spike.sals.place" into a textbox and Cloudflare made it happen. This was an unexpected perk.
  8. Test the crap out of the /feed/ redirect.
  9. Publish a farewell post on Bear, both to say thanks and to give people a heads up in my case my feed breaks, or pollutes their reader with already-read posts (an inevitability, I assume).
  10. Let that post sit for a day. Muck about with the site design while I wait.
  11. Write a hasty Python script to test all my internal links against the local server.
  12. Pull the trigger: switch the Cloudflare Pages custom domain from spike.sals.place to sals.place. Cross fingers while DNS propagates.
  13. Once sals.place is pointing to the new site, see if my feed reader handles the redirect (it does!) and spot-check various individual page redirects to see if they work (they do!).
  14. Be happy.
  15. (Later) Figure out what to do with all the images that are still hosted on Bear.

If you see anything busted, please do email me and let me know. I'm sure I missed something.