Using jekyll

1 minute read

Static site generation for your blogs using github or gitlab.

Jekyll is mainly a static site generator.

A good overview of static site generators can be found here:

Jekyll home page:

Set up

  gem install bundler jekyll

  jekyll new my-awesome-site

  cd my-awesome-site

  bundle exec jekyll serve

You should be able see it serving up on http://localhost:4000

Blogging with github pages.

Port your site to jekyll using one the various migration tools

This has a defined structure and to change themes all you need to do is follow the structure.

Github pages

If you create a github project called {username}, then the site will be served on http://{username}


You can handcraft the themes from various offerings, or get them set directly in github settings page.

Custom Domain

Change the setting in github:

And then point your domain to {username} (CNAME, ANAME)

For blog.blah you need to set the apex domain configuration:



Use of branching for drafts.


jekyll serve or jekyll build with the –drafts switch



Host staticman yourself:

Using staticmanlab as a collaborator

Then invite like so:

More details here about gitlab and staticman:

Using Gitlab instead




Leave a comment

Your email address will not be published. Required fields are marked *