Repository navigation
Expand file tree
/
Copy pathhugo.toml
More file actions
84 lines (71 loc) · 1.6 KB
/
Copy pathhugo.toml
File metadata and controls
84 lines (71 loc) · 1.6 KB
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
baseURL = 'https://appleboy.github.io/go-tutorial/'
languageCode = 'zh-tw'
title = 'Go 風格指南(繁體中文)'
theme = 'hextra'
enableRobotsTXT = true
enableGitInfo = true
enableEmoji = true
canonifyURLs = true
[outputs]
home = ['HTML', 'RSS']
page = ['HTML']
section = ['HTML', 'RSS']
[markup]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
noClasses = false
[markup.tableOfContents]
startLevel = 2
endLevel = 4
ordered = false
[menu]
[[menu.main]]
name = '指南'
pageRef = '/guide'
weight = 1
[[menu.main]]
name = '決策'
pageRef = '/decisions'
weight = 2
[[menu.main]]
name = '最佳實踐'
pageRef = '/best-practices'
weight = 3
[[menu.main]]
name = 'Search'
weight = 4
[menu.main.params]
type = 'search'
[[menu.main]]
name = 'GitHub'
weight = 5
url = 'https://github.com/appleboy/go-tutorial'
[menu.main.params]
icon = 'github'
[params]
description = 'Google Go Style Guide 繁體中文翻譯'
[params.navbar]
displayTitle = true
displayLogo = false
[params.theme]
default = 'system'
displayToggle = true
[params.page]
width = 'normal'
[params.footer]
enable = true
displayCopyright = true
displayPoweredBy = true
[params.search]
enable = true
type = 'flexsearch'
[params.search.flexsearch]
index = 'content'
tokenize = 'forward'
[params.editURL]
enable = true
base = 'https://github.com/appleboy/go-tutorial/edit/main/content'
[params.toc]
displayTags = false
displayTimeToRead = false