哇!
Requirement
- Github
- Jekyll
-
Github Pages is where people build software. After registration, create a new repository. The name of repo should corresponding with Gighub account, like
***.github.io
-
Jekyll is a website generator that’s designed for building minimal, static blogs to be hosted on Github Pages. Jekyll中文网站
Choose your favourite theme
Jekyll Themes
Mine is here
Domain Registration
-
Go to the root of your blog’s repo and edit the CNAME file to include your domain name (e.g.
yinengxiong.cn
) -
Go to your domain name registrar and add CNAME DNS record pointing your domian to Github Pages
Write Posts
Feel free to checkout Markdown files in the _posts/
The front-matter of a post should like:
---
layout: post
title: "Hello"
subtitle: "Hello"
date: 2017-08-22 14:00:00
author: "Yineng Xiong"
header-img: "img/your-mum.jpg"
tags:
- Alibaba
---
Submit
Just git push
Current function
- Comment (Using Disqus, 需要翻墙)
- Tags search
- Baidu Analytics
- Google Analytics
- Links
- 知乎, Weibo, Facebook, Github pages
Finally
Aha!