-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
225 lines (186 loc) · 3.6 KB
/
Copy path_config.yml
File metadata and controls
225 lines (186 loc) · 3.6 KB
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
# 网站基本信息
title: "Sunnoy's Tech Blog"
description: "一个专注于技术分享和学习的个人博客,记录前端开发、后端技术、项目经验和学习心得。"
baseurl: ""
url: "https://sunnoy.github.io"
# 作者信息
author:
name: "Sunnoy"
email: "your-email@example.com"
bio: "全栈开发工程师,热爱技术分享和开源贡献"
avatar: "/assets/images/avatar.jpg"
location: "中国·上海"
# 社交媒体链接
social:
github: "sunnoy"
twitter: "your_twitter"
linkedin: "your-linkedin"
email: "your-email@example.com"
wechat: "your-wechat-id"
# 构建设置
markdown: kramdown
highlighter: rouge
theme: jekyll-theme-minimal
# 插件
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-paginate
# 分页设置
paginate: 10
paginate_path: "/blog/page:num/"
# 代码高亮设置
kramdown:
input: GFM
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: 'highlight'
span:
line_numbers: false
block:
line_numbers: true
# SEO 设置
lang: zh-CN
timezone: Asia/Shanghai
# 评论系统 (Gitalk)
gitalk:
enable: true
client_id: "your_github_app_client_id"
client_secret: "your_github_app_client_secret"
repo: "sunnoy.github.io"
owner: "sunnoy"
admin: "sunnoy"
# Google Analytics
google_analytics: "G-XXXXXXXXXX"
# 网站图标
favicon: "/assets/images/favicon.ico"
# 导航菜单
navigation:
- title: "首页"
url: "/"
icon: "🏠"
- title: "关于我"
url: "/about.html"
icon: "👤"
- title: "项目"
url: "/projects.html"
icon: "🚀"
- title: "博客"
url: "/blog.html"
icon: "📝"
- title: "联系"
url: "/contact.html"
icon: "📞"
# 文章设置
defaults:
- scope:
path: ""
type: "posts"
values:
layout: "post"
author: "Sunnoy"
show_excerpts: true
comments: true
- scope:
path: ""
type: "pages"
values:
layout: "page"
# 排除文件
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- README.md
- LICENSE
- package.json
- package-lock.json
- webpack.config.js
- .gitignore
- .sass-cache/
- .jekyll-cache/
- gemfiles/
# 包含文件
include:
- _pages
- .htaccess
# 集合设置
collections:
projects:
output: true
permalink: /:collection/:name/
# 压缩设置
sass:
style: compressed
# 安全设置
safe: true
incremental: false
# 开发设置
livereload: true
open_url: true
# RSS Feed 设置
feed:
posts_limit: 20
excerpt_only: true
# 站点地图设置
sitemap:
changefreq: weekly
priority: 0.7
# 性能优化
future: false
unpublished: false
limit_posts: 0
# 自定义变量
custom:
# 网站统计
analytics:
enable: true
provider: "google"
# 搜索功能
search:
enable: true
provider: "simple"
# 代码复制
code_copy: true
# 阅读进度条
reading_progress: true
# 回到顶部
back_to_top: true
# 暗色主题
dark_mode: true
# 文章字数统计
word_count: true
# 阅读时间估算
reading_time: true
# 网站功能开关
features:
# 评论系统
comments: true
# 分享按钮
share_buttons: true
# 相关文章
related_posts: true
# 文章目录
toc: true
# 数学公式支持
mathjax: false
# 图表支持
mermaid: false
# 第三方服务
services:
# 百度统计
baidu_analytics: ""
# 不蒜子统计
busuanzi: true
# 站点验证
google_site_verification: ""
baidu_site_verification: ""
# CDN 设置
cdn:
enable: false
provider: "jsdelivr"