-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
executable file
·202 lines (181 loc) · 5.31 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
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
baseURL: "http://www.grer.cn/"
languageCode: zh
defaultContentLanguage: zh # 最顶部首先展示的语言页面
title: 故人笔记 - 甲拉古日的自留地
paginate: 8
theme: PaperMod
HasCJKLanguage: true #包含中日韩字符
isCJKLanguage: true
summaryLength: 55 #显示描述最大值0不显示
enableRobotsTXT: true # 允许爬虫抓取到搜索引擎,建议 true
buildDrafts: false
buildFuture: false
buildExpired: false
googleAnalytics:
minify:
disableXML: true
minifyOutput: true
frontmatter:
date: [":filename", ":default"]
permalinks:
blog: "/blog/:year/:slug.html"
page: "/:slug/"
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: 故人笔记 - 甲拉古日的自留地
keywords: [故人笔记, 甲拉古日, 个人网站]
description: 故人笔记 - 甲拉古日的自留地; 甲拉古日的个人网站——故人笔记会将甲拉古日的生活点滴和新鲜事分享,同时也会记录灵感瞬间与创作。
author: 甲拉古日 #["Me", "You"] # multiple authors
images: "/images/logo.gif" # <link or path of image for opengraph, twitter-cards>
DateFormat: "2006-01-02"
ShowWordCounts: true # 显示字数
ShowLastMod: false # 显示更新时间
defaultTheme: light # auto, dark, light
disableThemeToggle: false
ShowReadingTime: true # 显示阅读时间
ShowShareButtons: false # 显示分享
ShowPostNavLinks: true # 显示帖子导航链接
ShowBreadCrumbs: true # 显示面包屑
ShowCodeCopyButtons: true # 显示复制按钮
disableSpecial1stPost: false
disableScrollToTop: false
comments: false # 评论
hidemeta: false
hideSummary: false
showtoc: true
tocopen: false
xieshu: true # 底下统计数字single.html
notice: true # 自建-文章底部声明layouts/partials/notice.html
utter:
repo: "grinxxoo/comments"
issueTerm: title
theme: github-light
# theme: github-dark
gaicpurl: "//www.beian.gov.cn/portal/registerSystemInfo?recordcode=51343702000108" #公安备
gaicp: "川公网安备 51343702000108号"
icpurl: "//beian.miit.gov.cn/"
icp: "蜀ICP备 2021023818号-2"
micpurl: "//icp.gov.moe/?keyword=20223334/"
micp: "萌ICP备 20223334号"
assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "//grer.cn/images/favicon.ico" # <link / abs url>
favicon16x16: "//grer.cn/images/favicon.ico"
favicon32x32: "//grer.cn/images/favicon.ico"
apple_touch_icon: "//grer.cn/images/favicon.ico"
safari_pinned_tab: "//grer.cn/images/favicon.ico"
label:
text: "~ & cd /home"
# icon: ""
# iconHeight: 30
# profile-mode
profileMode:
enabled: false # 首页coder样式
title: JialaGuri
subtitle: "当 下 , 快 乐 就 好 </br>Now, just be happy"
# subtitleurl: "//v1.hitokoto.cn/?encode=js&select=%23hitokoto" # 一言api输出
imageUrl: "/images/logo.gif"
imageWidth: 130
imageHeight: 130
imageTxt: 关于我
imageTitle: my image
buttons:
# - name: 阅读
# url: posts
# - name: Tags
# url: tags
# home-info mode
homeInfoParams:
Title: 故人笔记
Content: "Now, just be happy"
# subtitleurl: "" # 一言api输出
socialIcons:
# - name: blog
# url: "/posts/"
- name: github
url: "//github.com/grinxxoo/"
- name: rss
url: "/index.xml"
- name: photo
url: "/photos"
- name: about
url: "/about"
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
# bing:
# SiteVerificationTag: "XYZabc"
# yandex:
# SiteVerificationTag: "XYZabc"
cover:
responsiveImages: true # 仅仅用在Page Bundle情况下,此处不讨论
hidden: false # 是否隐藏
hiddenInList: false # 文章列表隐藏
hiddenInSingle: true # 在内容页内隐藏
editPost:
URL: "https://github.com/grinxxoo/grinxxoo.github.io/blob/master/content"
Text: "编辑" # edit text
appendFilePath: true # to append file path to Edit link
# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
menu:
main:
-
identifier: categories
name: 分类
url: "/categories/"
weight: 20
-
identifier: tags
name: 标签
url: "/tags/"
weight: 30
-
identifier: archives
name: 归档
url: "/archives/"
weight: 40
-
identifier: links
name: 友链
url: "/links/"
weight: 50
-
identifier: search
name: 搜索
url: "/search/"
weight: 60
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
# pygmentsUseClasses: true
markup:
goldmark:
renderer:
unsafe: true # HUGO 默认转义 Markdown 文件中的 HTML 代码,如需开启的话
highlight:
anchorLineNos: false
codeFences: true
guessSyntax: true
hl_Lines: "0"
lineAnchors: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: false
noClasses: true
noHl: false
tabWidth: 4
style: monokai
# style: darcula
outputs:
home:
- HTML
- RSS
- JSON