A SSG
Setup
sudo pacman -S ruby
- Add
/home/yoshixi/.local/share/gem/ruby/3.3.0/bin
to Linux PATH sudo gem update --system
- edit
~/.zshrc
or~/.bashrc
export GEM_HOME="$HOME/.gem"
export PATH="$HOME/.gem/bin:$PATH"
gem install bundler erm jekyll
jekyll new my-awesome-site
cd my-awesome-site
bundle add erb
bundle add webrick
bundle
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