Setting up a website.

27 Apr 2014

While I like to see myself as a seasoned programmer, I had never set up a site on my own. I never had known where to start. So I began serching for easy to use frameworks to get me settled. One thing i really wanted to include was a blog, and when you want to include a blog of some sorts you kinda bump into either wordpress or jekyll. I figured that setting up wordpress can be quite a hassle. Don't get me wrong I don't fear setting up a database, I just think it's a bit overkill for such a simple thing as a blog. So I prefer jekyll because of it's simplicity.

In a nutshell jekyll compiles a static site using a folder structure and configuration files. The default structure is expansive enough to give you an idea how it works, but it far more powerfull than the default generated site lets on. For instance the header and footer are hardcoded in the default layout. These header (and footer) can be specified in seperate files located in the "_include" directory and included in the layout with "{% include header.html %}". So this enables you to reuse pieces of html layout in any of your layouts or even markdown posts. I had to escape those so called "liquid tags".

As I'm still learning jekyll and setting up this site I'm not going to explain the whole jekyll framework. I simply do not have enough knowledge of the system yet. I do however wanted to make my first post as soon as possible to see how jekyll works and to keep working on improving my site. If I sparked your interest do checkout the Jekyll docs or their github page.