http://jekyllbootstrap.com/usage/jekyll-theming.html#toc_5
rake theme:switch name="twitter"
rake theme:switch name="mark-reid"
customize theme: Theme layouts are contained in
./_includes/themes/THEME-NAME
. It is important that you edit files
in the theme directory rather than _layouts because switching themes
will overwrite files in the _layout
directory and you will lose
your changes. The main point here is keeping themes modular; this
way editing one does not affect the other.
Adding Templates: add extra template files to _layouts
in order to
customize your blog.
some themes
general instruction github details, demo
Search plugin for github pages problem (search works locally, but after uploading, it does not work on github site): caused by jekyll ‘_plugin’ issue (more on stack, jekyll official explanation)
automatically gem install ..., then
manually:
(1) copy _site/js/ to root
(2) copy jekyll_lunr_js_search.rb to _plugin
(3) manually keep (copy) _site/js/index.json consistent with /js/index.json
updated instruction
$ cd ~/site_directory
$ rm ./js/index.json
# wait for index regeneration (server on)
$ cp _site/js/index.json ./js/
http://jekyllbootstrap.com/usage/jekyll-quick-start.html#toc_0
$ rake post title="Hello World"
$ rake page name="about.md"
# nested page
$ rake page name="pages/about.md"
markdown
https://guides.github.com/features/mastering-markdown/
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
<img src="/img/research/len-fig1.pdf" height="180">
* TOC
{:toc}
[local post](/networking/2015/10/05/the-softrouter-architecture/)
[羲之爱鹅](/cn.index.html)
http://alanwsmith.com/jekyll-liquid-date-formatting-examples
inline styling
<h1 style="color:blue;">This is a Blue Heading</h1>
https://en.wikipedia.org/wiki/Font_family_(HTML)
http://iosfonts.com
  non-breaking space
Code: x<sup>x+1</sup> |
Result: xx+1 |
Code: x<sub>y+1</sub> |
Result: xy+1 |
http://kramdown.gettalong.org/index.html
http://milanaryal.com/2015/writing-on-github-pages-and-jekyll-using-markdown/