Blah blah blah from Alpha

home

Things about writing a blog in Github under username.github.io

01 Dec 2014

how to test the pages on localhost

Run jekyll serve1

And it will auto regenerate the pages if you have modify any of the posts.

how to put the github pages under url <username>.github.io rather than <username>.github.io/<project-name>

Create a repository name as <username>.github.io (replace <username> with yours). And push the changes to main branch rather than gh-pages branch.

Enable footnotes under jekyll

in _config.jml, set markdown as markdown: kramdown.

Reference:

P.S.:

  1. To install jekyll, use ruby gem: gem install jekyll


comments powered by Disqus