This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
93 lines (86 loc) · 6.09 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
# 基本配置/Basic settings
title: Website Title # 博客网站标题/Title of the blog
description: >- # 关于博客的简介/Introduction of the blog
(This is the template of the intro. You can change it in the _config.yml file.)This is my blog. I will share some of my thoughts and experiences here.
blurb: >- # 关于你的简介/Introduction of yourself
(This is the template of the blurb. You can change it in the _config.yml file.)Hi there. I'm Steven-Zhl.
baseurl: "" # 根目录,默认留空即可,但如果你的网站没有部署在根目录,则需要手动修改。/Root directory, leave it blank by default, but if your website is not deployed in the root directory, you need to modify it manually.
username: Your name # 你的博客署名。/Your blog author.
markdown: kramdown # Markdown解析器/Markdown parser
highlighter: rouge # 代码高亮/Code highlight
kramdown:
input: GFM # GFM: Github Flavored Markdown
syntax_highlighter: rouge # 代码高亮/Code highlight
timezone: Asia/Shanghai # 时区/Timezone
# 你的社交账号或联系方式,这些信息将会出现在博客的底部,没有的不填即可。
# Your social account or contact information, which will appear at the bottom of the blog. If not, please leave it blank.
email: # 邮箱/Email
github_account: # Github账号/Github account
twitter_account: # Twitter账号/Twitter account
facebook_account: # Facebook账号/Facebook account
instagram_account: # Instagram账号/Instagram account
linkedin_account: # 领英账号/Linkedin account
zhihu_account: # 知乎账号/Zhihu account(A Chinese Q&A website)
weibo_account: # 微博账号(微博账号,不是微博id)/Weibo account(A Chinese social media platform)
# Build配置/Build settings
plugins:
- jekyll-feed
- jekyll-paginate
- jekyll-seo-tag
exclude: # Jekyll构建时应该被排除的文件/Files that should be excluded when Jekyll is built
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
# jekyll-paginate配置。/jekyll-paginate settings.
paginate: 5 # 每页显示的文章数量/Number of articles displayed per page
paginate_path: "/page/:num/" # 分页的URL格式/Paging URL format
# 本项目的一些配置。/Some settings of this project.
lang: zh-Hans # ( <html lang=""> ) html元素的lang特性。/HTML element lang attribute.
localization: zh-Hans # 本地化显示,可选项:en(英文), zh-Hans(简体中文), zh-Hant(繁体中文)。/Localization display, optional: en (English), zh-Hans (Simplified Chinese), zh-Hant (Traditional Chinese).
article_introduction_format: post.excerpt # 文章简介的样式,如果你喜欢在每篇文章前写一个“blockquote”作为引言(> XXX),建议使用这种样式,否则建议用"post.content | strip_html | truncatewords: 50"/The style of the article introduction, if you like to write a "blockquote" as a quotation before each article (> XXX), it is recommended to use this style, otherwise it is recommended to use "post.content | strip_html | truncatewords: 50"
article_catalogue: true # 是否在侧边菜单展示文章目录/Whether to display the article catalogue in the sidebar menu
default_cover_path: /images/default_cover.jpg # 默认封面图路径/Default cover path
icp_record: # ICP备案号/ICP record number (China mainland need only)
# 顶栏样式配置/Header style settings
header:
menu: true # 是否在顶栏显示“菜单”/Whether to display "menu" in the header.
about: true # 是否在顶栏显示“关于”/Whether to display "About" in the header.
archive: true # 是否在顶栏显示“归档”/Whether to display "Archive" in the header.
list-categories: false # 是否在顶栏直接列出全部分类/Whether to list all categories directly in the header.
# 评论功能配置/Comment settings
comment:
enable: true # 是否启用评论功能/Whether to enable comment function
provider: disqus # 选择使用的评论系统,可选项:gitalk, disqus, livere/Select the comment system to use, optional: gitalk, disqus, livere
gitalk: # Gitalk(https://github.com/gitalk/gitalk)相关配置,请自行修改。/Gitalk settings, please modify it.
client_ID: # client ID
client_secret: # client secret
repo: # 存储库名称,如'<username>.github.io'/Repository name, such as '<username>.github.io'
owner: # 你的GitHub用户名/Your GitHub username
disqus: # Disqus(https://disqus.com/)相关配置,请自行修改。/Disqus settings, please modify it.
shortname: # 你的Disqus站点的shortname,注册Disqus时会被分配一个'https://<shortname>.disqus.com的站点'/Shortname of your Disqus site, you will be assigned a site 'https://<shortname>.disqus.com' when you register Disqus
canonical_url: # 你的博客的规范URL/Canonical URL of your blog
livere: # 来必力City版(https://livere.com/)相关配置,请自行修改。/Livere City version settings, please modify it.
data-uid: # 你的来必力data-uid/Your Livere data-uid
# 其他插件配置/Other plugins settings
simple-jekyll-search: # Simple Jekyll Search(搜索功能)
enable: true # 是否启用搜索/Whether to enable search
results_limit: 10 # 搜索结果的显示上限/Display limit of search results
mathjax: # MathJax(数学公式)
enable: true # 是否默认开启渲染数学公式(全局配置)/Whether to enable rendering mathematical formulas by default (global configuration)
jekyll-mermaid: # Jekyll Mermaid(绘图功能)
enable: false # 是否默认启用绘图功能(全局配置)/Whether to enable drawing function by default (global configuration)
feed:
enable: true # 是否启用RSS订阅功能/Whether to enable RSS subscription function
posts_limit: 10 # RSS订阅的文章数量上限/Number of articles for RSS subscription
tags:
except:
- test
# Jekyll-Feed(RSS订阅功能),如果不想使用RSS功能,请删除本段以及plugins、Gemfile和Gemfile.lock中的`jekyll-feed`
# Jekyll-Feed(RSS subscription function), if you don't want to use RSS function, please delete this section and `jekyll-feed` in plugins, Gemfile and Gemfile.lock