- Free
- Easy to install (No server or ssl cert needed)
- Static Page (Fast)
-
First of all, Github let you to create a static website for you and also your projects, i.e. Github Pages.
-
Github Pages has an embedded web engine called
JekyII
to let you build your blog on Github Pages. -
What does
JekyII
do or support:- Provide you a convient architecture to manage your sites, for example, you can set mostly all the site param in 1
.yaml
file. - Act as an server to serve your site.
- Support
Liquid
web template, i.e. load and pass parameter to the template. - Render your blog content based on
Markdown
syntax. - Support theme so possible to build an elagant webpage quickly.
- Provide you a convient architecture to manage your sites, for example, you can set mostly all the site param in 1
Simply follow the tutorial: Minimal Mistakes
Just simply fork or clone the preoject mmistakes/minimal-mistakes. Although it is a theme, it has evrything to set up your site.
There is no embedded text editor like WordPress, but you don't need to learn or write the html code.
To blog, you need to use Markdown
syntax, which can be mastered within 5 minutes, here are some resource:
Once You have a basic idea, you can play an write in the online editor Github Markdown Editor.
Page and post share the same structure i.e. yaml meta data + content
A web page = layout + _post / (_page + _include file)
If the extension is. md, the content can have a markdwon processing.
To edit the navi bar, go to /_data/navigation.yml
/docs is another deploy directory, you can use it to build a demo site.
To enable google analytics, simply input the track id in
_config.yml
when using Minimal Mistakes