Source code for: http://kuniga.me/
_layout
includes the definition of templates. A template can customize the HTML structure and things like including JavaScript libraries.
-
Get repo
git clone git@github.com:kunigami/kunigami.github.io.git
Setup:
git config --local core.hooksPath .githooks/
- Upgrade ruby. the MacOS version is outdated:
brew install ruby
- Use brew's version:
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
- Install dependencies:
bundle install
- Get ruby dev:
apt install ruby-dev
- Install dependencies:
bundle install
- Run website on localhost
bundle exec jekyll serve
- Open
https://localhost:4000
in the browser