A SSG

Setup

  1. sudo pacman -S ruby
  2. Add /home/yoshixi/.local/share/gem/ruby/3.3.0/bin to Linux PATH
  3. sudo gem update --system
  4. edit ~/.zshrc or ~/.bashrc
export GEM_HOME="$HOME/.gem"
export PATH="$HOME/.gem/bin:$PATH"
  1. gem install bundler erm jekyll
  2. jekyll new my-awesome-site
  3. cd my-awesome-site
  4. bundle add erb
  5. bundle add webrick
  6. bundle
  7. bundle exec jekyll serve

Basic Boilerplate Rundown

_site

the final website. Do not modify and files in here

_config.yml

A configuration file for the sites data. Used as shared variables for other pages to use

Gemfile

Used to store ruby dependencies for the website

Concepts