Website hosted from my Github Repository
It is using Github Pages. Create a repository called username.github.io, where username is your username (or organization name) on GitHub and put your website files in there.
Website generation using a Python framework: Nikola
This website is using Nikola which is a Python static website generator. Assuming that you have created a github repository called username.github.io, clone it with:
git clone [email protected]:username/username.github.io.git
Then initialize your website with this command:
nikola init username.github.io
where username.github.io is the repository you have just cloned.
cd in this directory and execute this command:
nikola build && nikola serve -b
The website will open at the url http://127.0.0.1:8000.
To deploy to Github, change the file conf.py such as:
GITHUB_DEPLOY_BRANCH = 'master'
Once you are happy with it, you can deploy to Github with the command:
Posts written using reStructuredText
Useful cheatsheet for the basics: http://docutils.sourceforge.net/docs/user/rst/cheatsheet.txt
Download a pre-built template from bootswatch
nikola bootswatch_theme -n custom_theme -s spruce -p bootstrap3