-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
166 lines (153 loc) · 3.47 KB
/
_config.yml
File metadata and controls
166 lines (153 loc) · 3.47 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
# ---------------- #
# Main Configs #
# ---------------- #
baseurl:
url: https://lewinz.com
date_format: "ordinal"
title: 阿嫂
subtitle: "喜欢立 Flag 减肥的码农"
description: "阿嫂个人博客"
keywords: 阿嫂, Zheng xianglin, Lewin
timezone: Asia/Shanghai
encoding: "utf-8"
side_bar_repo_limit: 5
repository: Lewinz/lewinz.github.io
# 对 css 和 js 资源的 cdn 加速配置
cdn:
jsdelivr:
enabled: true
# 可选组件配置
components:
# 分享
# weibo,qq,wechat,douban,qzone,linkedin,facebook,twitter
share:
enabled: true
hide-platforms: qq,weibo,qzone
# 不蒜子访问统计
busuanzi:
enabled: true
start_date: 2021-04-21
# My Popular Repositories
side_bar_repo:
enabled: true
limit: 5
# 文章字数统计
word_count:
enabled: true
# 页面右上角,以及「关于」页面的二维码
# 修改图片请替换 assets/images/qrcode.jpg
qrcode:
enabled: false
image_alt: 阿嫂
# 压缩页面内容
compress_html:
clippings: all
comments: ["<!--", "-->"]
# 代码高亮风格,支持的 theme 列表见 https://github.com/Lewinz/rouge-themes
highlight_theme: github
# ---------------- #
# Author #
# ---------------- #
author: Lewin
organization:
organization_url:
github_username: Lewinz
location: Shanghai, China
email: lewinzheng@gmail.com
# ---------------- #
# 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
highlighter: rouge
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
comments_provider: gitalk
# !!!重要!!! 请修改下面这些信息为你自己申请的
# !!!Important!!! Please modify infos below to yours
# https://disqus.com
disqus:
username:
# https://imsun.net/posts/gitment-introduction/
gitment:
owner: Lewinz
repo: blog-comments
oauth:
client_id: 9aed0261c1a37626eb19
client_secret: 1643b93d79e3d1ada6d02938fe50dfa0baedc2dc
# https://github.com/gitalk/gitalk#install
gitalk:
owner: Lewinz
repo: blog-comments
clientID: 9aed0261c1a37626eb19
clientSecret: 1643b93d79e3d1ada6d02938fe50dfa0baedc2dc
# 在使用其它评论组件时可点击显示 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