-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
155 lines (140 loc) · 3.42 KB
/
config.yml
File metadata and controls
155 lines (140 loc) · 3.42 KB
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
theme: PaperMod
baseURL: "https://linkzz.org/"
title: "Linkzz's Blog"
paginate: 10
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
googleAnalytics: G-202TSHVSRB
minify:
disableXML: true
minifyOutput: true
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: Linkzz's Blog
description: "博客"
keywords: [Blog, Portfolio, PaperMod, 博客]
author: Linkzz
# author: ["Me", "You"] # multiple authors
images: ["logo.png"]
DateFormat: "2006-01-02"
defaultTheme: auto # dark, light
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: false
ShowCodeCopyButtons: true
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: true
hidemeta: false
hideSummary: false
showtoc: true
tocopen: true
assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "logo.png"
favicon16x16: "logo.png"
favicon32x32: "logo.png"
apple_touch_icon: "logo.png"
safari_pinned_tab: "logo.png"
label:
text: "Linkzz"
icon: /logo.png
iconHeight: 35
# profile-mode
profileMode:
enabled: false # needs to be explicitly set
title: Linkzz's Blog
subtitle: ""
imageUrl: "logo.png"
imageWidth: 120
imageHeight: 120
imageTitle: linkzz
buttons:
- name: Posts
url: archives
- name: Tags
url: tags
# home-info mode
homeInfoParams:
Title: "Hello \U0001F44B"
Content: 欢迎访问我的博客!生命不息,折腾不止,本博客主要记录平时的一些折腾记录。
socialIcons:
- name: bilibili
url: "https://space.bilibili.com/918868"
- name: github
url: "https://github.com/resticDOG/"
- name: rss
url: "/index.xml"
analytics:
google:
SiteVerificationTag: "G-202TSHVSRB"
bing:
SiteVerificationTag: "XYZabc"
yandex:
SiteVerificationTag: "XYZabc"
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
# editPost:
# URL: "https://github.com/<path_to_repo>/content"
# Text: "Suggest Changes" # 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"]
# bangumi
bangumi:
username: 685827
menu:
main:
- identifier: posts
name: 文章
url: /archives/
weight: 10
- identifier: tags
name: 标签
url: /tags/
weight: 20
- identifier: rss
name: 搜索
url: /search/
weight: 30
- identifier: acg
name: ACG
url: /bangumi/
weight: 30
- identifier: about
name: 关于
url: /about/
weight: 40
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
markup:
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai