Setting up this site
For most of my projects I use Git as source control and store them on GitHub. They offer a service called Github Pages where you can host static pages. There you have a static page generator tool called Jekyll out of the box witch takes care of the most boring parts and a CDN in front for better hosting performance. You can do this a number of ways and here here is one.
Get started
-
Create a new repository called
username.github.io
. Don’t forget to replaceusername
with your own GitHub username in all of the examples. -
Open up the terminal
- Go to http://username.github.io/ and take a look at the result.
Configuration
Edit _config.yml
file to your own liking.
Check Jekyll Configuration to see what is avalible.
Local preview
Go to the root of your project and run
Go to http://127.0.0.1:4000/ to preview your changes.