Skip to content

Commit 75bdab8

Browse files
committed
feat: 更新菜单结构,添加工具链相关链接并启用搜索功能
1 parent 775134a commit 75bdab8

File tree

1 file changed

+60
-3
lines changed

1 file changed

+60
-3
lines changed

hugo.yaml

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,71 @@ module:
66
- path: github.com/imfing/hextra
77
menu:
88
main:
9-
- name: Docs
9+
- name: Documentation
1010
pageRef: /docs
11+
weight: 1
12+
- name: Toolchains
13+
identifier: toolchains
14+
weight: 2
15+
- name: sphere ↗
16+
parent: toolchains
17+
url: https://github.com/go-sphere/sphere
1118
weight: 10
19+
params:
20+
type: link
21+
icon: beaker
22+
- name: sphere-cli ↗
23+
parent: toolchains
24+
url: https://github.com/go-sphere/sphere-cli
25+
weight: 11
26+
params:
27+
type: link
28+
icon: terminal
29+
- name: sphere-layout ↗
30+
parent: toolchains
31+
url: https://github.com/go-sphere/sphere-layout
32+
weight: 11
33+
params:
34+
type: link
35+
icon: terminal
36+
- name: protoc-gen-route ↗
37+
parent: toolchains
38+
url: https://github.com/go-sphere/protoc-gen-route
39+
weight: 20
40+
params:
41+
type: link
42+
icon: terminal
43+
- name: protoc-gen-sphere ↗
44+
parent: toolchains
45+
url: https://github.com/go-sphere/protoc-gen-sphere
46+
weight: 21
47+
params:
48+
type: link
49+
icon: terminal
50+
- name: protoc-gen-sphere-binding ↗
51+
parent: toolchains
52+
url: https://github.com/go-sphere/protoc-gen-sphere-binding
53+
weight: 22
54+
params:
55+
type: link
56+
icon: terminal
57+
- name: protoc-gen-sphere-errors ↗
58+
parent: toolchains
59+
url: https://github.com/go-sphere/protoc-gen-sphere-errors
60+
weight: 23
61+
params:
62+
type: link
63+
icon: terminal
64+
- name: Search
65+
weight: 80
66+
params:
67+
type: search
1268
- name: GitHub
1369
url: https://github.com/go-sphere
1470
weight: 90
71+
params:
72+
icon: github
1573
params:
16-
description: Modern, responsive, batteries-included Hugo theme for creating beautiful static websites.
1774
externalLinkDecoration: true
1875
banner:
1976
key: 'announcement-v0_10'
@@ -35,7 +92,7 @@ params:
3592
displayUpdatedDate: true
3693
dateFormat: "January 2, 2006"
3794
search:
38-
enable: false
95+
enable: true
3996
type: flexsearch
4097
flexsearch:
4198
index: content

0 commit comments

Comments
 (0)