I just wanted to learn a new tool and improving design of website.
Almost 3 years this website was powered using Wordpress. Since beginning of the year I was thinking about how convert this blog for a static site generator tool. So, on last weekend I put hands on editor to finish this project.
I had 2 options
DocPad is a framework that allowing for content management via the file system, this tool offer support to plugins that are used for rendering, and has static site generation. It’s built with Node and Express.js.
Jekyll-bootstrap is very simple, have a minimal structure for blogs, and a static site generator. I chose this one.
There version isn’t dependency on server-side, it’s just server delivery static files. Other services that I use are: Google Analytics (for statistics about users), Disqus (for comments), GitHub (version control).
biggest problems for migration
- Keep the previous content
- Keep the same URLs
- Keep path of Images
- Convert content for english
Keep the previous content
I migrate all posts from Wordpress, using Wordpress to Jekyll exporter. This tool is a WordPress plugin that converts all posts, pages, taxonomies, metadata, and settings to Markdown and YAML which can be dropped into Jekyll. Thanks Ben Balter for this nice job.
Keep the same URLs
I think about a simple navigation tree, with support for multiple languages, which in the end is like this:
- Blog * Posts (english and portuguese, on the sema page)
- Talks (english and portugues, on the same page)
I wanted to keep current comments from Disqus, for this a will to continue use this tool. Jekyll-bootstrap has this feature.
More simplicity for changes on code, more simplicity for users to read my blog, and the website is with a better speed. This is due to in the fact all my posts are static assets now. Now I write the posts using Markdown + HTML.