Now Using Jekyll
Posted on January 29, 2015
When I created this site, my goal was to write more consistency and put the design through constant iteration, establishing a design playground of sorts for myself. Clearly, I have fallen short. I’ve performed maybe one two design tweaks and published less than a handful of posts. I can go over the myriad of reasons why: renovating a house, laziness, but I the fact is I really started to hate Wordpress.
I didn’t like writing in the editor. Working on my theme, though small for Wordpress, was much more tedious than it needed to be and deployments were a drag. My interest quickly waned and the site started to atrophy.
Enter Jekyll
Jekyll is a parsing engine that takes a set of partials and other files and generates a blog, or any non-dynamic website for that matter, into static HTML pages compiled into the
_site
So why make the switch? First, Jekyll runs naturally on GitHub, so deployments and version control are very straightforward. Once properly configured, publishing is as easy as pushing your master branch to your GitHub repo. And lastly, Jekyll is well-organized, making development and modification much more intuitive than Wordpress.
Jekyll and Gulp
I love using Gulp to run my tasks. One of the issues I found quickly was devising a way to get Jekyll and Gulp to play nicely together. My first mistake was trying to crunch my Jekyll tasks into my
gulpfile.js
Instead, I reconfigured my
gulpfile
_site
assets
_site
Hosting
Another contributing factor to my switching over to Jekyll was that my hosting service tripled in price this year. No bueno, but it lit the fire and got me moving on something I’ve place on the back burner for nearly a year.
I am now hosting from my GitHub Repo. My site is a user page, so the repository is named
jaredcunha.github.io
gh-pages
All in all, the process went pretty well. I didn’t feel the need to do a blog migration due to so little content on the site. I’m excited with the new setup and ready to move forward.