Build Free Blog Website with Github Pages and Jekyll

Reading time ~1 minute

Nowadays, blog is getting more and more important. More and more people start to play with blog by using various existing blog systems. Some people even try to build their own blog system by using wordpress or some other tools. Today, I will introduce you an easy way to build your own blog website by using Github Pages.

First, Let me talk about the pros and cons of Github Pages.

  • Advantages:

    • free
    • no need to establish your own web server
    • can bind to your own domain name
    • lightweight, no complex configuration
  • Disadvantages:

    • it uses Jekyll template system, more suitable for posting blog, documentation and so on
    • limited dynamic web supporting
    • based on Git, there is no powerful backend like wordpress, and many work should be done manually

Then, let’s come to the “how to build”.

1. “Activate” Your Github Pages

Please refer to official guide

2. Prepare Jekyll Template

Here, HPSTR Jekyll Theme is recommended.

The following is the preview of HPSTR Jekyll Theme:

HPSTR Theme Preview screenshot

Notice:

  1. You need do some simple configuration of the template files, before you push them to your Github repository (i.e., username.github.io).
  2. If you want preview your blog before you upload to your Github, you could build a local Jekyll template system

3. Push These Files onto Your Github Repository (The One You Created in Step 1)

Useful Linux Software

Ubuntu Software Installation Continue reading

Useful user-defined LaTeX commands

Published on November 27, 2016