-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
110 lines (77 loc) · 3.12 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Site settings
title: Gangzi Blog
SEOTitle: Gangzi的博客 | Gangzi Blog
header-img: img/home-bg.jpg
email: [email protected]
description: "关于代码与生活 | Gangzi,Software Engineer | 这里是 @Gangzi 的个人博客,与你一起发现更大的世界。"
keyword: "Gangzi, jptiancai, 博客, 个人网站, 互联网, DevOps, 服务端"
url: "https://gangzi.github.io" # your host, for absolute URL
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
# Publish posts or collection documents with a future date.
future: true
# SNS settings
RSS: false
weibo_username: 2150547963
zhihu_username: gang-zi-33
github_username: jptiancai
# Build settings
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
highlighter: rouge
permalink: pretty
paginate: 10
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md","README.zh.md"]
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
# If you have timezone issue (e.g. #68) in China, uncomment to use this:
#timezone: CN
# Gems
# from PR#40, to support local preview for Jekyll 3.0
# make sure you have this gem installed
# `$ gem install jekyll-paginate`
plugins: [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
kramdown:
input: GFM # use Github Flavored Markdown !important
syntax_highlighter_opts:
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
# 评论系统:Gitalk(https://github.com/gitalk/gitalk)
gitalk:
enable: true #是否开启Gitalk评论
clientID: d20e3af262f36c337faf #生成的clientID
clientSecret: 22a9008585b870ef8f5f26b11a3116b7d09dc952 #生成的clientSecret
repo: jptiancai.github.io #仓库名称
owner: jptiancai #github用户名
admin: jptiancai
distractionFreeMode: true #是否启用类似FB的阴影遮罩
# Analytics settings
# Baidu Analytics
# ba_track_id: [your track id]
# Google Analytics
ga_track_id: 'UA-153628260-1' # Format: UA-xxxxxx-xx
ga_domain: auto
# Sidebar settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "What doesn't kill me only makes me stronger<br>杀不死我的,只会让我更强"
sidebar-avatar: /img/avatar-gangzi.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
# Featured Tags
featured-tags: true # whether or not using Feature-Tags
featured-condition-size: 1 # A tag will be featured if the size of it is more than this condition value
# Progressive Web Apps
chrome-tab-theme-color: "#000000"
service-worker: true
# MathJax rendering for layout:page (e.g. post preview)
page-mathjax: false
# Friends
friends: [
{
title: "阮一峰的个人网站",
href: "http://www.ruanyifeng.com/home.html"
}
]