-
Notifications
You must be signed in to change notification settings - Fork 3
/
_config.yml
executable file
·133 lines (101 loc) · 3.87 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
# Owner/Author information
baseurl: //
author:
name: onephone
avatar: /assets/img/avatar.png
email: [email protected]
# Social networking links used in footer. Update and remove as you like.
github: https://github.com/codeshold
linkedin: https://cn.linkedin.com/in/wenfeng-shi-643474129
douban: https://www.douban.com/people/138288726/
twitter: https://twitter.com/wuzhimang
wechat: /assets/img/wechat.png
qq: /assets/img/qq.png
resume: /nothings/empty.pdf
# 站点信息
title: SWF's Hacking Dream
description: 这个家伙梦想成为一名黑客
url: http://codeshold.com
#url: http://127.0.0.1:4000 # debug
production_url: http://codeshold.com # production_url是sitemap生成的url,方便百度谷歌收录.
# url_tags必须和tags.md中的permalink定义相同,这样定义的原因是不希望permalink中包含文件类型后缀。
# 或者tags.md中不定义permalink,这里直接引用tags.md的在目录中的绝对地址。
# 其它几个url也需要遵循这个原则。
#
url_rss: /pages/atom.xml
url_about: /pages/about.html
url_archives: /pages/archive.html
url_atom: /pages/atom.html
url_tags: /pages/tags.html
# gavatar头像及Favicon
favicon: /assets/img/favicon.ico
gavatar: /assets/img/avatar.png
# google analytics 设置
ga:
id: G-DL095PZG0V
url: codeshold.com
# disqus 设置
# Set Up Disqus On a Your Own Site, this shortname is your unique Disqus URL.
# something like this: shortname.disqus.com
# 主题设置,自动激活某个分类
active: 技术
# 首页除了最新文章外显示分类
cates:
- 技术
- 读书
- 翻译
# 中文本地化
locals:
tags: "# 标签"
about: "# 关于"
newest: "最新文章"
archive: "# 归档"
# Background image to be tiled on all pages
background:
# https://github.com/mojombo/jekyll/wiki/Permalinks
permalink: /:year/:month/:title.html
relative_permalinks: false
# Amount of newest post to show on home page
paginate: 8
paginate_path: "/page:num"
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: Asia/Shanghai
future: true
# markdown设置
# redcarpet extensions 含义参考 https://github.com/vmg/redcarpet
# 选择它的主要原因是,支持```language```语法,用来标记代码块,不需要缩进4个空格。
# 另外还支持脚注、文本高亮、删除线等扩展的markdown语法,
# 需要加入extensions列表才能开启或关闭相应功能。
#
# 表格语法需要特别注意 :-: 中间若有空格,可能不会解析。
# no_intra_emphasis: do not parse emphasis inside of words 不解析单词间的下划线
#
# 其它可选的markdown: rdiscount, kramdown,
#
# Github 不再支持 redcarpet, 替换为 kramdown
# https://github.com/planetjekyll/quickrefs/blob/master/FAQ.md#q-how-can-i-get-backtick-fenced-code-blocks-eg--working-with-kramdown
#
# Should the markdown renderer treat a single line break as <br>?
# http://meta.stackexchange.com/questions/26011/should-the-markdown-renderer-treat-a-single-line-break-as-br
#
# Markdown 需要敲两次回车才能产生一个新的段落。
# 仅仅一个回车不会被解释为换行,如果想换行,需要在行尾「敲两个空格然后回车」,或者在行尾加标签 <br>,或者设置 hard_wrap 为 true
#
# http://kramdown.gettalong.org/rdoc/Kramdown/Options.html
# hard_wrap=true Interprets line breaks literally
markdown: kramdown
kramdown:
input: GFM
hard_wrap: true
syntax_highlighter: rouge
# Fixing highlighting errors: pygments not supported.
include: []
exclude: ["README.md"]
#repository: https://rubygems.org
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-github-metadata
- jekyll-mentions
- jekyll-redirect-from
- jemoji