Skip to content

yaobinwen/yaobinwen.github.io

Repository files navigation

yaobinwen.github.io

Blog Theme

I'm using The Hacker theme.

Build & Serve

Run ./build-serve.sh to build the site and serve locally.

Notes:

    1. I'm building my own ruby Docker images in order to build and serve locally for local development.
    1. The script build-serve.sh does everything: build the customized Docker image and run jekyll serve appropriately.

Various Issues

Once I forgot to add the YAML front matter in index.md. As a result, jekyll didn't convert index.md to index.html. See the two references:

I dealt with the broken links from index page to the posts because I used hard links that were quite fragile. Refer to link tag on how to do it appropirately. See how it is used in index.md.

I needed to deal with displaying the literal {{}} in the middle of my post content. How to escape liquid template tags? told me to use {% raw %}. See how it is used in the post "Ansible: Understanding the subelements lookup (with_subelements)".

I used MathJax to render mathematical expressions in the posts: