-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
146 lines (123 loc) · 2.99 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
baseURL: "https://liudon.com/"
languageCode: zh-cn
title: 流动
paginate: 20
theme: PaperMod
enableInlineShortcodes: true
enableEmoji: true # 允许使用 Emoji 表情,建议 true
enableRobotsTXT: true # 允许爬虫抓取到搜索引擎,建议 true
relativeURLs: true
buildDrafts: false
buildFuture: false
buildExpired: false
timeout: 60s
hasCJKLanguage: true # 自动检测是否包含 中文日文韩文 如果文章中使用了很多中文引号的话可以开启
# googleAnalytics: G-G9ZDJQN9E2
minify:
disableXML: true
minifyOutput: true
mediaTypes:
application/feed+json:
suffixes:
- json
outputFormats:
jsonfeed:
mediaType: application/feed+json
baseName: index
rel: alternate
isPlainText: true
json:
mediaType: application/json
baseName: search
rel: alternate
isPlainText: true
outputs:
home:
- HTML
- RSS
- jsonfeed
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: 流动
description: "生活就是一个流动的过程"
keywords: [流动,博客,liudon,生活,技术]
author: Liudon
DateFormat: "2006-01-02"
defaultTheme: auto # dark, light
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: false
ShowCodeCopyButtons: true
ShowWordCount: true
comments: true
showFullTextinJSONFeed: true
ShowToc: true # 显示目录
TocOpen: true # 自动展开目录
assets:
disableHLJS: true # to disable highlight.js
twikoo:
version: 1.5.11
label:
text: "流动"
# home-info mode
homeInfoParams:
Title: "Hi there \U0001F44B"
Content: Welcome to my blog
socialIcons:
- name: github
url: "https://github.com/liudon"
- name: email
url: "mailto:i@liudon.org"
# analytics:
# google:
# SiteVerificationTag: "G-G9ZDJQN9E2"
responsiveImages: true
cover:
hidden: false # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
hiddenInSingle: false # hide on single page
responsiveImages: true
# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "content"]
menu:
main:
- identifier: home
name: Home
url: /
weight: 10
- identifier: archives
name: Archives
url: /archives/
weight: 20
- identifier: tags
name: Tags
url: /tags/
weight: 20
- identifier: about
name: About
url: /about/
weight: 30
- identifier: search
name: 🔍
url: /search/
weight: 40
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: false
markup:
highlight:
noClasses: true
# anchorLineNos: true
codeFences: true
guessSyntax: true
lineNos: false
style: monokai