-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.toml
209 lines (166 loc) · 8.88 KB
/
config.toml
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
baseurl = "https://yushuangqi.com"
languageCode = "zh"
# language support # en / zh-cn / other...
defaultContentLanguage = "zh-cn"
title = "虞双齐的博客"
disqusShortname = "yushuangqi"
# 使用自定义的 chromastyles 样式,
# 启用时需 hugo gen chromastyles --style=monokai > syntax.css 生成指定代码高亮主题
pygmentsUseClasses = false
# 为 true 时,markdown 中代码进行 html 转换
# PygmentsCodeFences = true
# 代码高亮主题,可用主题,见: https://help.farbox.com/pygments.html
# 注意:如果 pygmentsUseClasses = true 则不生效
# pygmentsstyle = "default"
# Set to true to try to do syntax highlighting on code fenced blocks in markdown without a language tag.
# pygmentsCodefencesGuessSyntax = true
# If you for some reason don’t want to use the built-in Chroma highlighter, you can set pygmentsUseClassic=true
# pygmentsUseClassic = true
uglyURLs = true
metaDataFormat = "YAML"
# disqusShortname = "yushuangqi"
publishdir = "public"
theme = "jane"
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
paginate = 3 # 首页每页显示的文章数
rssLimit = 20 # Limit Entry Count to Rss file # 限制 Rss 文章输出数量
ignoreFiles = ["book/*"]
Copyright= "虞双齐 | <a href='https://beian.miit.gov.cn/'>粤ICP备14032560号</a>"
[params]
uglyURLs = true # 扩展hugo var 尚未公开的变量,方便在模板中使用
#备案号,配置后网页底部将显示链接到备案系统
beian = "粤ICP备14032560号-4"
description= "Go语言,Golang开发,区块链智能合约开发,全栈开发-虞双齐的个人博客"
enableDiscuss = true
debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda
since = "2014" # Site creation time # 站点建立时间
homeFullContent = false # if false, show post summaries on home page. Othewise show full content.
rssFullContent = true # if false, Rss feed instead of the summary
# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
# logoTitle = "" # default: the title value # 默认值: 上面设置的title值
keywords = ["智能合约开发","Go语言", "区块链技术"]
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
archive-paginate = 25
# paginate style, default use numbered pagination links
# if true, use original "Previous" and "Next" links.
# paginateOriginalStyle = true
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
dateFormatToUse = "2006-01-02"
# show word count and read time ? # 是否显示字数统计与阅读时间
moreMeta = true
# 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。
# Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`.
toc = true # 是否开启目录
autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠
fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击)
bootcdn = false # In china. @Deprecated: use [params.publicCDN] # 是否使用bootcdn(@Deprecated: 请使用[params.publicCDN])
mathjax = true # see https://www.mathjax.org/ # 是否使用mathjax(数学公式)
contentCopyright = '<a target="_blank" rel="license noopener external nofollow" href="https://creativecommons.org/licenses/by/4.0/deed.zh" >署名 4.0 国际</a>'
# changyanAppid = "cyt7HM6Iq" # Changyan app id # 畅言
# changyanAppkey = "prod_90e85fc8b207249a2493340f99075c94" # Changyan app key
tencent_analytics = "" # Tencent Analytics
baidu_push = false # baidu push # 百度
baidu_analytics = "a16b3275b071ec0efc507a05422a7156" # Baidu Analytics
baidu_verification = "" # Baidu Verification
google_verification = "" # Google_Verification # 谷歌
# Link custom CSS and JS assets
# (relative to /static/css and /static/js respectively)
customCSS = [] # if ['custom.css'], load '/static/css/custom.css' file
customJS = [] # if ['custom.js'], load '/static/js/custom.js' file
[params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义
enable = true
jquery = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'
slideout = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>'
fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>'
fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">'
gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitment.browser.min.js" crossorigin="anonymous"></script>'
gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/style/default.min.css" crossorigin="anonymous">'
#[params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
# owner = "ysqi" # Your GitHub ID
# repo = "ysqi.github.io" # The repo to store comments
# clientId = "639ba986c281b9fcf382" # Your client ID
# clientSecret = "b5862135f283dd308a7f226c06980cf50b8e82f1" # Your client secret
[params.reward] # 文章打赏
enable = true
wechat = "/img/donateMe_wechat.png" # 微信二维码
alipay = "" # 支付宝二维码
[params.social] # 社交链接
a-email = "mailto:[email protected]"
# b-stack-overflow = "http://localhost:1313"
# c-twitter = "http://localhost:1313"
# d-facebook = "http://localhost:1313"
# e-linkedin = "http://localhost:1313"
# f-google = "http://localhost:1313"
g-github = "http://github.com/ysqi"
h-weibo = "https://weibo.com/234665601"
i-zhihu = "https://www.zhihu.com/people/_ysqi/"
# j-douban = "http://localhost:1313"
# k-pocket = "http://localhost:1313"
# l-tumblr = "http://localhost:1313"
# m-instagram = "http://localhost:1313"
# n-gitlab = "http://en.xianmin.org/hugo-theme-jane/"
# o-goodreads = "http://en.xianmin.org/hug
# 百度熊掌号
[params.xiongzhang]
appid = 1614189312904082
[params.plugins]
# enable Open Graph protocol,see https://developers.facebook.com/docs/sharing/opengraph
openGraph = true
xiongzhang = false #启用熊掌号配置
[author]
description = "一名全栈开发工程师,#热爱编程、#工具控、#爱读书、#宅男"
name = "虞双齐"
title= "全栈开发"
# 140*140头像
aboutme_avatar = "https://static.yushuangqi.com/assets/touxiang.jpg?imageView2/1/w/140/h/140/q/96"
# 高清原始头像
aboutme_height = "https://static.yushuangqi.com/assets/touxiang.jpg"
email ="[email protected]"
qq = "460857340"
weibo = "234665601"
github = "ysqi"
weixinID = "gh_d6d47893a828"
zhihu="_ysqi"
[taxonomies]
tag = "tags"
category = "categories"
# topic = "topics"
series = "series"
[permalinks]
post = "/blog/:year/:slug"
# top = "/:slug.html"
resource = "/resource/:title"
[sitemap] # essential # 必需
changefreq = "weekly"
priority = 0.5
filename = "sitemap.xml"
[[menu.main]] # config your menu # 配置目录
name = "首页"
weight = 10
identifier = "home"
url = "/"
[[menu.main]]
name = "专题"
weight = 11
identifier = "series"
url = "/series.html"
[[menu.main]]
name = "分类"
weight = 20
identifier = "categories"
url = "/categories.html"
[[menu.main]]
name = "标签"
weight = 30
identifier = "tags"
url = "/tags.html"
[[menu.main]]
name = "归档"
weight = 40
identifier = "archives"
url = "/post.html"
[[menu.main]]
name = "关于"
weight = 50
identifier = "about"
url = "/about.html"