Jekyll cheatsheet

Introduction

  • Jekyll uses liquid template language.

How to serve jekyll locally

Initial setup

https://www.ruby-lang.org/en/documentation/installation/#homebrew

gem install jekyll jekyll-paginate jekyll-sitemap ...

migrate old gemfile to new one

source 'https://rubygems.org'

In the project folder

bundle install
bundle exec jekyll serve
open "http://127.0.0.1:4000/"
  • The generated files are located on ./_site.