Pradeep K. Pant Blog

 

Moving my blog from WordPress to Jekyll and Github

So finally, I am able to move from WordPress to Jekyll GitHub. So, now onwards no more hosting dependency, no more unnecessary WordPress plugins loading. Now my site loads much faster, no db connection to be made, no PHP or any server side script needed and top of that all the data is with me as a GitHub repo. how cool is this…

having said that I admire WordPress it has done great job in helping me in starting a blog way back in 2007 at time I started with wordpress.com and later switched to self hosted blog. Initially I planned to use static generators like Gatsby, ReactJS, GraphQL but finally decided on Jekyll based static site generator. May be in future I will explore other tools as well but for now it Jekyll + GitHub which will remain I pre-assume even if I decide to change the engine. The main reason for me to move from WordPress to GitHub was that I don’t need dynamic elements in my page, there is not database operations and server side logic is needed so for me WordPress is just an overkill.

On the other side to host a static blog, GitHub is the best place as all of the code in form of markdown is in your control and with continuous integration change in website is instantly available without any dedicated publishing engine.

I am happy with my minimalistic theme, I still have to fine tune the old post which are using various WordPress plugins. In process, I learned a lot about exporting blog from WordPress to Jekyll, markdown syntax etc.

The following resources below helped me migrating:

https://blog.webjeda.com/wordpress-to-jekyll-migration/

https://jekyllrb.com/docs/https://www.taniarascia.com/make-a-static-website-with-jekyll/

This post I am writing using markdown and published through Jekyll and pushed on GitHub repo though I still have to work on a better layout, CSS scheme and clearing the wordpress html garbage from posts.

Thanks for reading!



 

 

Copyright © 2007-2024 PRADEEP K. PANT

Source Code | RSS