forked from qiubaiying/qiubaiying.github.io
-
Notifications
You must be signed in to change notification settings - Fork 3
/
_config.yml
96 lines (64 loc) · 2.78 KB
/
_config.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Site settings
title: AlstonWilliams's Blog
SEOTitle: AlstonWilliams's Blog
header-img: img/post-bg-desk.jpg
email: pshuyue@gmail.com
description: "Every failure is leading towards success."
keyword: "AlstonWilliams"
url: "http://alstonwilliams.github.io" # your host, for absolute URL
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
github_repo: "https://github.com/alstonwilliams/alstonwilliams.github.io.git" # you code repository
# Sidebar settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "Goals determine what you going to be!"
sidebar-avatar: /img/about-alstonwilliams-gentle.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
# SNS settings
RSS: false
# weibo_username: qiubaiying
#zhihu_username: qiubaiying
#github_username: qiubaiying
#facebook_username: baiying.qiu.7
# jianshu_username: u/829ac257bea5
#twitter_username: qiubaiying
# Build settings
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
permalink: pretty
paginate: 10
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"]
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
# Gems
# from PR#40, to support local preview for Jekyll 3.0
gems: [jekyll-paginate]
# Markdown settings
# replace redcarpet to kramdown,
# although redcarpet can auto highlight code, the lack of header-id make the catalog impossible, so I switch to kramdown
# document: http://jekyllrb.com/docs/configuration/#kramdown
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM # use Github Flavored Markdown !important
# 评论系统
# Disqus(https://disqus.com/)
# disqus_username: alstonwilliams
# Gitalk
gitalk:
enable: true #是否开启Gitalk评论
clientID: 425462965621a10e6ac6 #生成的clientID
clientSecret: b6276668941ca6d7ebf0dfdf970967742c470091 #生成的clientSecret
repo: alstonwilliams.github.io #仓库名称
owner: alstonwilliams #github用户名
admin: alstonwilliams
distractionFreeMode: true #是否启用类似FB的阴影遮罩
# 统计
# Analytics settings
# Baidu Analytics
# ba_track_id: b50bf2b12b5338a1845e33832976fd68
# Google Analytics
ga_track_id: 'UA-135452810-1' # Format: UA-xxxxxx-xx
ga_domain: auto # 默认的是 auto, 这里我是自定义了的域名,你如果没有自己的域名,需要改成auto
# Featured Tags
featured-tags: true # 是否使用首页标签
featured-condition-size: 1 # 相同标签数量大于这个数,才会出现在首页
# Progressive Web Apps
chrome-tab-theme-color: "#000000"
service-worker: true