Migrating to Github Pages
30 Apr 2020My blog has been living on self-hosted Wordpress, wordpress.com
and blogger.com
. But I have migrated it several times at the cost of losing posts and even domain names. But I have been holding dedunu.info
since 2011.
Recently Blogger is testing a new editor which doesn’t support HTML editing. I started to worry about that. I already had the personal site running on Github Pages. Moving to Github sounds sensible. Github Pages offers HTTPS support for custom domains, just like the Blogger did.
If you want to do a blog on Github pages, Jekyll is the ultimate answer. Jekyll has out-of-the-box support for coding related blog posts. Using Markdown is cleaner than using Blogger editor.
Migration was smooth. I could import all the blog posts with one command with blogger URLs.
$ ruby -r rubygems -e 'require "jekyll-import";
JekyllImport::Importers::Blogger.run({
"source" => "/home/dedunu/blog-04-21-2020.xml",
"no-blogger-info" => false,
"replace-internal-link" => false,
})'
Sidey theme was my choice. A minimal theme for Jekyll with ultra-fast page loading.
The only change, I had to do was enable pagination. Find the Github repository here.
Tags
- blog
- git
- github
- blogger