Tweaking Centrarium Theme
by Choong-il Ryu
Basic Site Setting
Change site setting in /_config.yml
per your setting.
Centrarium’s defalut base_url
was /centrarium
, which makes me to use http://localhost/centrarium:4000
instead of http://localhost:4000
or http://ryuci.github.io/centrarium
instead of http://ryuci.github.io
.
I don’t like it and changed base_url
to blank.
Activate Commenting
If you want your post to get comments, enable Disqus feature as follows in /_config.yml
. ryuci0225
is my Discus username and you should change it to yours.
Then, go to Disqus site, and login Create a new site.
TBD
Working with Draft
Read Working with Draft.
Add Image Caption
figure crashes to highlight so change figure to figure2 in css and JS Read Figure caption for images on Jekyll sites - single line with Markdown.
Add Google Map
Read Jekyll Maps. Note that this plugin does not support by gitpage, it won’t build when you push the source. To workaround this, you need to build it locally and push the static site files. Remove … in .gitignore as follows.
Add Menu
MathJax
Read [Using Math Expressions in Your Jekyll Blog][Using Math].
Change Ruby Version
Change version info in /circle.yml
per your setting.
Insert Google Map
- List item 1
-
List item 2
ruby def i_am_highlighted puts "Hello, I am highlighted!" end
- List item 3
Syntax Highlighting
Read HighlightJS demo.
References
Subscribe via RSS