-
Notifications
You must be signed in to change notification settings - Fork 3
/
hugo.yaml
70 lines (66 loc) · 1.42 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
enableInlineShortcodes: true
defaultContentLanguage: zh-cn
# Hugo configuration file
baseURL: "https://liblol.aosc.io/"
title: "libLoL"
enableGitInfo: true
outputs:
home: [ HTML ]
page: [ HTML ]
section: [ HTML, RSS ]
# 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: 使用教程
url: /docs/usage
weight: 1
- name: 应用列表
url: /docs/apps/
weight: 2
- name: 联系我们
url: https://aosc.io/zh-cn/contact/
weight: 3
- name: 社区主页
url: https://aosc.io/zh-cn/
weight: 4
- name: Search
weight: 5
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/liblol-website/edit/master/content"
description: AOSC 为您在新旧世界之间架起桥梁!