forked from jtxblog/jtxblog.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
111 lines (77 loc) · 3.24 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
111
# Site settings
title: JtxBlog # 打开网站的左上角和中间显示的名称
SEOTitle: JTX的博客 # 网站的搜索标题
header-img: img/index.jpg # 首页的背景图片
email: [email protected] # 个人介绍页的邮箱
description: "You need to work harder" # 给你自己的一句话,在中间显示
keyword: "JtxBlog,创建博客,python教程,前端教程,github博客创建教程,Jtx的博客" # 搜索网站的关键词
url: "http://jtxyh.github.io" # 你的网站的地址
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
github_repo: "https://github.com/JTXYH/JTXYH.github.io" # 你仓库的地址
# Sidebar settings
sidebar: true # 是否显示About页面
sidebar-about-description: "人生苦短,我学Python!" # 给你自己一句话
sidebar-avatar: /img/avatar_m.jpg # About页面的背景图
# SNS settings 几类社交账号
RSS: false
weibo_username: 5523812072
zhihu_username: xiao-xiang-36-50
github_username: JTXYH
# twitter_username: JTX520YH
facebook_username: 100011175577534
# 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: qiubaiying
# Gitalk
gitalk:
enable: true #是否开启Gitalk评论
clientID: 40949b6ba0c5f0937a38 #生成的clientID
clientSecret: d4b4d9f46b968fc35af7f24dc0309ff94c392a18 #生成的clientSecret
repo: blog_comment #仓库名称
owner: JTXYH #github用户名
admin: JTXYH
distractionFreeMode: true #是否启用类似FB的阴影遮罩
# 统计
# Analytics settings
# Baidu Analytics
#ba_track_id: b50bf2b12b5338a1845e33832976fd68
# Google Analytics
ga_track_id: 'UA-125866747-1' # Format: UA-xxxxxx-xx
ga_domain: auto # 默认的是 auto, 你如果没有自己的域名,需要改成auto
# Featured Tags
featured-tags: true # 是否使用首页标签
featured-condition-size: 0 # 相同标签数量大于这个数,才会出现在首页
# Progressive Web Apps
chrome-tab-theme-color: "#000000"
service-worker: true
# Friends
friends: [
{
title: "GitHub",
href: "https://github.com/JTXYH"
},{
title: "知乎",
href: "https://www.zhihu.com/people/xiao-xiang-36-50/activities"
},
{
title: "ZhanQi",
href: "https://chen-zhanqi.github.io/"
}
]