pennymark a jekyll blog about jekyll

Hooking up google analytics?

I’m gonna try this.

What is jekyll and how does it work?

What is Jekyll?

Jekyll is written in good ol’ Ruby. As is common in the world of software, Liquid is also in the mix, a templating language that is open-source and was created by Shopify in the early 2000’s. Jekyll templates are written in Liquid.

While that may sound complicated, at an implementation level, all that means is: you write templates, invoke those templates across your website, and inject specific content into those templates using {curly braces}.

To get started, simply download Ruby and add to path, then download Jekyll and Bundler (a dependency manager). And you should be good to go!

How does it work?

I think the most important thing to note here is really just how much Jekyll simplifies the process of standing up a website, if your focus is content. With the large volume of free templates already in circulation, all you have to do is find a format you like, host it on GitHub Pages, and write content in markdown.

When you push updates, the templates re-compile and automatically recreate a folder named _site, by standard convention. This _site folder contains all your static html files, which are returned to visitors upon HTTP request.