-
Notifications
You must be signed in to change notification settings - Fork 37
/
config.yml
174 lines (150 loc) · 4.34 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
baseURL: "https://m2kar.cn/" # if your site is in 'https', then make sure your base url isn't written using 'http' otherwise your sitemap would contain http (as opposeed to https) URLs. This would affect Google indexing of your URLs.
title: "M2kar's Security World"
paginate: 5
theme: hugo-PaperMod
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
mainsections: ["posts", "papermod"]
googleAnalytics: UA-150110063-1
minify:
disableXML: true
# minifyOutput: true
defaultContentLanguage: "zh"
languages:
zh:
languageName: "简体中文"
weight: 1
taxonomies:
category: 目录
tag: 标签
series: 系列
menu:
main:
- name: 归档
url: archives
weight: 5
- name: 搜索
url: search/
weight: 10
- name: 标签
url: tags/
weight: 10
#- name: 关于
# url: https://m2kar.cn/cv/files/CV_Zhiqing_Rui.pdf
outputs:
home:
- HTML
- RSS
- JSON
copyright: '© 2023 <a href="https://m2kar.cn">m2kar</a> <a href="https://beian.miit.gov.cn/" target="_blank">京ICP备2022010448号</a>'
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "M2kar的个人博客,用于记录系统安全研究相关、运维相关技术,以及其他各种事情."
author: M2kar
defaultTheme: auto
# disableThemeToggle: true
ShowShareButtons: true
ShowReadingTime: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
ShowAllPagesInArchive: true
ShowPageNums: true
ShowToc: true
comments: true
images: ["images/papermod-cover.png"]
profileMode:
enabled: false
title: M2kar
imageUrl: "#"
imageTitle: my image
# imageWidth: 120
# imageHeight: 120
buttons:
- name: Archives
url: archives
- name: Tags
url: tags
homeInfoParams:
Title: "M2kar's Security World"
Content: >
欢迎来到M2kar的安全世界博客!
- 本博客用于记录系统安全研究的论文笔记,安全技术思考,欢迎和我留言讨论。
socialIcons:
- name: github
url: "https://github.com/m2kar"
- name: email
url: "mailto:m2kar.cn<at>gmail.com"
- name: Rss
url: "index.xml"
editPost:
URL: "https://github.com/m2kar/m2kar.github.io/tree/blog/content"
Text: "源文件" # edit text
appendFilePath: true # to append file path to Edit link
repo: "m2kar/m2kar.github.io"
# label:
# iconSVG: '<svg xmlns="http://www.w3.org/2000/svg" height="25" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/></svg>'
# text: "Home"
# icon: icon.png
# iconHeight: 35
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
assets:
disableHLJS: true
favicon: "<link / abs url>"
# favicon: "<link / abs url>"
# favicon16x16: "<link / abs url>"
# favicon32x32: "<link / abs url>"
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# cover:
# hidden: true # hide everywhere but not in structured data
# hiddenInList: true # hide on list pages and home
# hiddenInSingle: true # hide on single page
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai
# privacy:
# vimeo:
# disabled: false
# simple: true
# twitter:
# disabled: false
# enableDNT: true
# simple: true
# instagram:
# disabled: false
# simple: true
# youtube:
# disabled: false
# privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true