A Virtual Home - pythonhttps://blog.avirtualhome.com/2018-03-17T23:03:00-04:00Move from WordPress to Pelican2018-03-11T22:15:24-04:002018-03-17T23:03:00-04:00Peter van der Doestag:blog.avirtualhome.com,2018-03-11:/move-from-wordpress-to-pelican/<p>I have been playing with the thought of moving my blog from WordPress to a static website generator for years and I finally pulled the trigger.</p><p>I have been playing with the thought of moving my blog from WordPress to a static website generator for years.</p>
<p>I never really had the energy to start this projects, for several reasons. I know I could never find a theme that is completely to my liking so I would have to change it, possibly altering some code. There were some generator written in <span class="caps">PHP</span>, my language of choice for a long time, but they seemed not very mature. The best known static web site generator was Jekyll, written in Ruby and I really couldn’t get the energy to start learning Ruby on the side. The other reason that was keeping me from moving was how to move all my articles from WordPress to the static generator.</p>
<p>I started working for <a href="https://oneilinteractive.com/">ONeil Interactive</a> in 2017. We build websites for the home building industry and the language of choice is Python. We started looking into building an internal site for documenting our projects. We develop in Python and it was quickly decided the static generator should be written in Python as it would make it easier to extend the generator if needed.</p>
<p>As a result of this project I decided to bite the bullet for my personal site as well. After a quick look at the site <a href="https://www.staticgen.com/">StaticGen</a> and some quick research I decided to go with <a href="https://github.com/getpelican/pelican">Pelican</a>. Of course I needed a theme, and there is never a theme that completely satisfies my needs but my starter theme is <a href="https://github.com/kdeldycke/plumage">Plumage by Kevin Deldycke</a>. I’ve modified it to work with Bootstrap 4, and used the <a href="https://bootswatch.com/slate/">Slate theme by Bootswatch</a>.</p>
<p>I only moved two articles from my old blog as the rest of the articles were not visited that often. I still have them in the database so if it’s ever needed I can pull them up.</p>
<p>Oh in case you were wondering, for the project at work we decided to go with <a href="https://www.mkdocs.org/">MkDocs</a></p>