-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhugo.yaml
60 lines (56 loc) · 1.18 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
enableInlineShortcodes: true
defaultContentLanguage: zh-cn
theme: hextra
baseURL: https://users-guide.aosc.io/
languageCode: zh-cn
title: 安同 OS 用户手册
outputs:
home: [ HTML ]
page: [ HTML ]
section: [ HTML, RSS ]
markup:
# allow raw html
goldmark:
renderer:
unsafe: true
# enable hextra syntax highlight
highlight:
noClasses: false
menu:
main:
- name: 社区主页
url: https://aosc.io
weight: 1
- name: 联系我们
url: https://aosc.io/contact
weight: 2
- name: Search
weight: 4
params:
type: search
params:
displayUpdatedDate: true
dateFormat: "January 2, 2006"
page:
# full (100%), wide (90rem), normal (1280px)
width: wide
footer:
enable: true
displayCopyright: true
displayPoweredBy: true
width: normal
# Search
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: title
theme:
# light | dark | system
default: system
displayToggle: true
editURL:
enable: true
base: "https://github.com/AOSC-Dev/users-guide/edit/master/content"
description: "安同 OS 用户手册"