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 [email protected]: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
The blog uses Jekyll's structure.
Posts:
- Located under
blog/_posts
- File named
YYYY-MM-DD-short-name.md
/docs/
are setup by
- Listing
.md
pages underdocs_/
- Registering in
_config.yml
:
collections:
docs:
output: true
Same for /amuseum/
.
- RSS Feed:
jekyll-feed