Read Jekyll Quick Start for quickly set up a blog on github using jekyllbootstrap.
Jekyll Bootstrap made it much simple to build an modern style of blog in several minitues.
First, make sure you upgrade to the default markdown kramdown of github
pages, then add the fowllowing to your jekyllbootstrap theme’s default.html
page in _include/theme/YOUR_THEME
directory
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
Now you can use TeX syntax to type in math symbols in your blog. For example, the following snippe of code will be rendered in TeX
$$\sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6} $$