forked from mzlogin/mzlogin.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
167 lines (146 loc) · 3.82 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# ---------------- #
# Main Configs #
# 博客网站的配置信息 #
# ---------------- #
baseurl:
url: # 你的 GitHub Page 地址,如 username.github.io。自定义域名的,请输入自定义域名。
title: Title # 你的首页 Title & 首页标签页 Title
subtitle: '言念君子,温其如玉' # 你的首页简介
description: 'description' # 你的网站描述
keywords: 前端 # 你的网站 关键词 ,与上面的描述构成网站 SEO
side_bar_repo_limit: 3 # 首页左侧栏的 repo 显示数量
repository: bran-nie/bran-nie.github.io # 博客所在的仓库
repository_branch: 'master'
# 如果使用图床,这里是图床相关的配置
repository_images_branch: 'images'
date_format: 'ordinal'
timezone: Asia/Shanghai
encoding: 'utf-8'
# 对 css 和 js 资源的 cdn 加速配置
cdn:
jsdelivr:
enabled: true
# 组件配置
components:
# 分享
share:
enabled: false
# 不蒜子访问统计
busuanzi:
enabled: false
start_date: 2020-05-03
# 压缩页面内容
compress_html:
clippings: all
comments: ['<!--', '-->']
# 文章字数统计
word_count:
enabled: true
# 深色模式(简单版),可选值:automatic 跟随系统;usercontrol 用户控制;none 不需要。 关闭: none;
dark_mode: usercontrol
# 代码高亮风格,支持的 theme 列表见 https://github.com/mzlogin/rouge-themes
highlighter: rouge
highlight_theme: github
# ---------------- #
# Author #
# ---------------- #
author: Bran.nie # 你的文章作者名字
organization:
organization_url:
github_username: Bran-nie # 你的GitHub username
location: Shenzhen, China # 你的所在城市
email: xxx@gmail.com # 你的邮箱
since_date: 2016 # 你的网站开始时间
# ---------------- #
# Navigation #
# 网站的顶部导航栏 #
# ---------------- #
navs:
- href: /
label: 首页
- href: /categories/
label: 分类
# -
# href: /archives/
# label: 归档
# -
# href: /open-source/
# label: 开源
- href: /wiki/
label: 维基
- href: /links/
label: 链接
- href: /about/
label: 关于
# ---------------- #
# RSS #
# ---------------- #
subscribe_rss: /feed.xml
# ---------------- #
# Jekyll #
# ---------------- #
markdown: kramdown
kramdown:
input: GFM
paginate: 10
lsi: false
quiet: false
excerpt_separator: "\n\n"
permalink: /:year/:month/:day/:title/
plugins:
- jekyll-github-metadata
- rouge
# - jekyll-html-pipeline
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
- jemoji
# - jekyll-mentions
collections:
wiki:
output: true
permalink: /wiki/:path/
# ---------------- #
# Comments #
# ---------------- #
# support provider: disqus, gitment, gitalk
# 备注,provider选择哪个,相应的就要配置下面其中一个
# !!!重要!!! 请修改下面这些信息为你自己申请的
# !!!Important!!! Please modify infos below to yours
comments_provider: gitalk
# https://disqus.com 文档
disqus:
username:
# https://imsun.net/posts/gitment-introduction/ 文档
# gitment:
# owner:
# repo:
# oauth:
# client_id:
# client_secret:
# https://github.com/gitalk/gitalk#install 文档
# gitalk:
# owner:
# repo:
# clientID:
# clientSecret:
# 在使用其它评论组件时可点击显示 Disqus
lazy_load_disqus: false
# ---------------- #
# Search #
# ---------------- #
simple_jekyll_search:
# 是否支持全文搜索
fulltext: false
# 最多显示多少条搜索结果
limit: 10
# ---------------- #
# Google #
# ---------------- #
# google:
# analytics_id: UA-80669434-1
# adsense:
# footer: true
# sidebar: true
# content_header: true
# content_footer: false