跳转至

Welcome to My template

V2zOjs.jpg

Fisrt,I want show you a omnipotent template.(For entertainment only)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
 *        ┏┓    ┏┓
 *        ┏┛┗━━━━━━━┛┗━━━┓
 *        ┃       ┃  
 *        ┃   ━    ┃
 *        ┃ >   < ┃
 *        ┃       ┃
 *        ┃... ⌒ ...  ┃
 *        ┃       ┃
 *        ┗━┓   ┏━┛
 *          ┃   ┃ Code is far away from bug with the animal protecting          
 *          ┃   ┃   神兽保佑,代码无bug
 *          ┃   ┃           
 *          ┃   ┃        
 *          ┃   ┃
 *          ┃   ┃           
 *          ┃   ┗━━━┓
 *          ┃       ┣┓
 *          ┃       ┏┛
 *          ┗┓┓┏━┳┓┏┛
 *           ┃┫┫ ┃┫┫
 *           ┗┻┛ ┗┻┛
 */
// warm heart, wagging tail,and a smile just for you!
//
//                            _ooOoo_
//                           o8888888o
//                           88" . "88
//                           (| -_- |)
//                           O\  =  /O
//                        ____/`---'\____
//                      .'  \|     |//  `.
//                     /  \|||  :  |||//  \
//                    /  _||||| -:- |||||-  \
//                    |   | \\  -  /// |   |
//                    | \_|  ''\---/''  |   |
//                    \  .-\__  `-`  ___/-. /
//                  ___`. .'  /--.--\  `. . __
//               ."" '<  `.___\_<|>_/___.'  >'"".
//              | | :  `- \`.;`\ _ /`;.`/ - ` : | |
//              \  \ `-.   \_ __\ /__ _/   .-` /  /
//         ======`-.____`-.___\_____/___.-`____.-'======
//                            `=---='
//        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//

For learn me more visit cndrew.cn.

My purpose

Create a personal template.I love acm,yes.

The reason

Mkdocs is more suitable than hexo when you prefer write a template or book.

Install and Use Mkdocs.

Install

About this part,I think you should visit mkdocs.org,there is a detailed introduction there.

Use

The use of mkdocs,I don't know enough now,so I just tell you how to use it with giuhub pages.

Add a new repo on your github

The first step is easy that I believe you can finish it without any doubt.And then you are advised to clone all the repo files to you computer with "git clone".

Import project

Transfer all the files in the project you generated with Mkdocs to the folder that you clone from github.

The final step

Run mkdocs gh-deploy,and mkdocs will automatically generate web pages and upload them to github.That is the most part of Mkdocs I like.

颜色主题

主色

默认为 white

点击色块可更换主题的主色

辅助色

默认为 red

点击色块更换主题的辅助色

Learn more

You can visit Mkdocs-github pages. Of course mkdocs-material is good!