Creating A Website With Jekyll

I’ve been slowly transitioning my websites from Wordpress to Jekyll for a few reasons, most notable that a static website doesn’t have a database that can be hacked, and that it’s inherinitely faster in getting to the user, plus it’s always fun to learn something new. As a part of jekyll, you’ll also likely want to explore Markdown and Liquid. You can follow the offical documentation, or mine:

If you’re transitioning from Wordpress to Jekyll, use this plugin.

Prerequisites

You’ll need to have ruby, gem, and bundle installed.

$ ruby -v

$ gem -v

$ bundle --version

If either of these don’t return a version number, get them installed.

Getting started

You likely want to install a theme, so look through the various theme websites and download the one you like the best.

I chose the jekyll-rtd-theme for votekris.com so I did:

$ git clone https://github.com/rundocs/jekyll-rtd-theme.git

$ cd jekyll-rtd-theme

$ sudo gem update

$ sudo bundle update

$ bundle exec jekyll serve

You should now be able to go to http://127.0.0.1:4000/ in your browser and see the basic theme website! You can hit ctrl+c to stop it, and then edit _config.yml for the settings of that theme. After that, you should follow the documentation for that theme to edit the other files and directories. For markup, refer to the kramdown reference manual.

Once you think you’ve got everything edited as appropriate, you can run $ bundle exec jeykll serve in a terminal, and now every time you edit a page or post and save it, this command will automagically integrate the changes, and you can reload the page in your browser to see your changes in real time just a website user would see them.

Latest Posts

Starting In Victoria Bc

This is our origin story, how One Day Website started in Victoria, British Colombia. For those unfamiliar, we’re on the southern tip of Vancouver island, a 90 minute ferry ride from Vancouver. I’d lived in Victoria for many years, had built many websites for myself, but I never considered doing it professionally.

Building Your Business Website

When building your website, it’s a bit overwhelming, and you’ve likely been recommended a certain provider that is as cheap and easy as possible. Like everything in business, you have to choose if you’d rather spend time, or money on building out your website. This post goes over the questions you should ask, no matter which provider you choose.

Website Colour Schemes

Colour Theory