git clone https://github.com/username/username.github.io cd username.github.io echo "Hello World" > index.html git add --all git commit -m "Initial commit" git push
git clone https://github.com/username/username.github.io cd username.github.io
git checkout publish git branch -m master git push -u origin master git branch -D gh-pages
git push origin --delete gh-pages git branch -d gh-pages
_config.yml
to change your title, keywords, and description.
_posts/
called 2014-01-01-intro.md
Edit it, and add:
--- title: "home" bg: white #defined in _config.yml, can use html color like '#010101' color: black #text color style: center --- # Example headline! and so on..
2014-01-02-art.md
with an divider
image this time:
--- title: "Art" bg: turquoise #defined in _config.yml, can use html color like '#0fbfcf' color: white #text color fa-icon: paint-brush --- #### A new section- oh the humanity!
git pull
sudo apt-get install ruby ruby-dev build-essential nodejs sudo gem install github-pages
jekyll serve -w
git push -u origin master
See also: https://stackedit.io/editor
www.yourname.info