-
Notifications
You must be signed in to change notification settings - Fork 4
/
hugo.yaml
73 lines (60 loc) · 1.26 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
# Hugo configuration file
title: 东秦计科人生存手册
baseURL: "https://manual.caiyi1.me/"
enableGitInfo: true
enableEmoji: true
hasCJKLanguage: true
defaultContentLanguage: zh-cn
enableInlineShortcodes: true
# import hextra as module
module:
imports:
- path: github.com/imfing/hextra
markup:
# allow raw html
goldmark:
renderer:
unsafe: true
# enable hextra syntax highlight
highlight:
noClasses: false
menu:
main:
- name: Search
weight: 1
params:
type: search
- name: GitHub
weight: 2
url: "https://github.com/neuq-cs/manual"
params:
icon: github
params:
navbar:
displayTitle: true
displayLogo: false
footer:
displayCopyright: false
displayPoweredBy: true
editURL:
enable: true
base: "https://github.com/neuq-cs/manual/edit/master/content"
theme:
default: dark
displayToggle: true
comments:
enable: true
type: giscus
# https://giscus.app/
giscus:
repo: neuq-cs/manual
repoId: R_kgDOMfX9Vg
category: General
categoryId: DIC_kwDOMfX9Vs4ChhwM
mapping: pathname
strict: 0
reactionsEnabled: 1
emitMetadata: 0
inputPosition: top
lang: zh-CN
crossorigin: anonymous