kunigami / kunigami.github.io

My personal website

Home Page:http://www.kuniga.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Source code for: http://kuniga.me/

Operational

Details

  • _layout includes the definition of templates. A template can customize the HTML structure and things like including JavaScript libraries.

Building

Setup:

git config --local core.hooksPath .githooks/

MacOS

  • 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

Linux (Ubuntu)

  • Get ruby dev:

apt install ruby-dev

  • Install dependencies:

bundle install

Run

  • Run website on localhost

bundle exec jekyll serve

  • Open https://localhost:4000 in the browser

References

Architecture

Blog

The blog uses Jekyll's structure.

Posts:

  • Located under blog/_posts
  • File named YYYY-MM-DD-short-name.md

Other pages

/docs/ are setup by

  • Listing .md pages under docs_/
  • Registering in _config.yml:
collections:
  docs:
    output: true

Same for /amuseum/.

Plugins

  • RSS Feed: jekyll-feed

About

My personal website

http://www.kuniga.me


Languages

Language:Jupyter Notebook 84.6%Language:CSS 8.3%Language:JavaScript 3.5%Language:Python 1.5%Language:C++ 1.1%Language:HTML 0.5%Language:Lean 0.2%Language:Shell 0.1%Language:C 0.0%Language:Makefile 0.0%Language:Ruby 0.0%