Link Search Menu Expand Document

Jekyll on GitHub

Table of contents

Gemfile for GitHub Pages

For more details on How to publish Jekyll site to GitHub Pages

  1. Open Gemfile
  2. Comment out # gem "jekyll", "~> 4.2.1"
  3. Then add gem "github-pages", group: :jekyll_plugins, save
  4. Done

Difference between jekyll serve

  • jekyll serve
  • bundler exec jekyll serve

When Gemfile contains gem "jekyll", "~> 4.2.1", you can run command jekyll serve.

When it’s using the Gemfile is ready for Github Pages, run command bundler exec jekyll serve for local development.