jekyll-githubpages-playground

jekyll-githubpages-playground

playground

Github pages w/ blank jekyll:

  1. Create Jekyll
jekyll new site-name --blank
cd site-name
  1. Add GEMFILE
#GEMFILE
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
  1. Execute bundle
bundle install
  1. Add _config.yml
title: Project-name
baseurl: "/site-name"
theme: minima
  1. Git actions

Make sure your are within the project folder

git init
# .gitignore
_site
.sass-cache
.jekyll-metadata
git add .
git commit -m 'init commit'

If not done yet create a remote repository on github and add the remote.

git remote add origin https://github.com/username/site-name.git
git push -u origin master
  1. Activate Github pages through the settings.

  2. Goto: https://username.github.io/repository-name/