-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhugo.yaml
174 lines (150 loc) · 3.44 KB
/
hugo.yaml
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
# Configuration
baseURL: "https://sec.cafe/handbook/"
title: "安全手册 - SEC.CAFE 安全咖啡"
enableRobotsTXT: true
enableGitInfo: true
# enableEmoji: false
hasCJKLanguage: true
# services:
# googleAnalytics:
# ID: G-MEASUREMENT_ID
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: zh-cn
languages:
zh-cn:
languageName: 简体中文
languageCode: zh-CN
weight: 1
title: SEC.CAFE 安全咖啡
module:
hugoVersion:
extended: true
min: "0.112.0"
imports:
path: github.com/imfing/hextra
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
enableInlineShortcodes: true
menu:
main:
- name: 安全情报
weight: 1
url: "https://sec.cafe?ref=handbook"
- identifier: documentation
name: 安全手册
weight: 2
- name: 安全导航
weight: 3
url: "https://sec.cafe/links?ref=handbook"
- name: 安全搜搜
weight: 4
url: "https://secsoso.com?ref=handbook"
- identifier: about
name: 关于
pageRef: /about
weight: 5
- name: 打赏
weight: 6
url: "https://sec.cafe/sponsor"
- name: Search
weight: 7
params:
type: search
- name: GitHub
weight: 8
url: "https://github.com/SEC-CAFE/handbook"
params:
icon: github
- identifier: enterprise_security
name: 企业安全建设
parent: documentation
pageRef: /enterprise_security
weight: 1
- identifier: security_research
name: 安全攻防与研究
parent: documentation
pageRef: /security_research
weight: 2
sidebar:
- identifier: more
name: More
params:
type: separator
weight: 1
- identifier: about
name: "关于"
pageRef: "/about"
weight: 2
- identifier: SEC.CAFE
name: "打赏"
url: "https://sec.cafe/about"
weight: 3
- identifier: Discord
name: "Discord社区"
url: "https://discord.gg/WXSvykbYDb"
weight: 4
params:
description: SEC.CAFE 安全咖啡是一个安全爱好者的服务平台与社区。安全手册,企业安全实践、攻防与安全研究知识库。
navbar:
displayTitle: true
displayLogo: false
logo:
path: images/logo.svg
dark: images/logo-dark.svg
# width: 40
# height: 20
# link: /
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: normal
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: true
displaySlogan: true
displayICP: true
displayGanbei: true
displayPoweredBy: false
width: normal
displayUpdatedDate: true
dateFormat: "January 2, 2006"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
editURL:
enable: true
base: "https://github.com/SEC-CAFE/handbook/edit/main/content"
blog:
list:
displayTags: true
comments:
enable: true
type: giscus
# https://giscus.app/
giscus:
repo: SEC-CAFE/handbook
repoId: R_kgDOKwin0w
category: General
categoryId: DIC_kwDOKwin084CbJZu
# mapping: pathname
# strict: 0
# reactionsEnabled: 1
# emitMetadata: 0
# inputPosition: top
# lang: en