-
Notifications
You must be signed in to change notification settings - Fork 0
/
navpress.config.js
77 lines (77 loc) · 1.93 KB
/
navpress.config.js
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
// config/index.js
export default {
title: '我的开发导航',
description: 'A simple static site generator with configurable navigation',
logo: '/navpress/images/logo.svg',
github: 'https://github.com/aaronlamz/navpress',
base: '/navpress/',
meta: {
title: 'My Navpress',
description:
'Navpress - a simple static site generator with configurable navigation',
keywords: 'static site, generator, navpress, vue',
author: 'aaronlamz',
},
sidebar: [
{
text: 'Web',
link: '/',
items: [
{
text: '前端',
link: '#group1',
items: [
{ text: 'Child 1', link: 'https://example.com/child1' },
{ text: 'Child 2', link: 'https://example.com/child2' },
{ text: 'Child 2', link: 'https://example.com/child2' },
],
},
{
text: '设计',
link: '#group2',
items: [
{ text: 'Child 3', link: 'https://example.com/child3' },
{ text: 'Child 4', link: 'https://example.com/child4' },
{ text: 'Child 2', link: 'https://example.com/child2' },
],
},
],
},
{
text: '效率工具',
link: '/efficient',
expanded: true,
items: [
{
text: 'Group A',
link: '#groupA',
items: [{ text: 'Child A1', link: 'https://example.com/childA1' }],
},
],
},
{
text: 'AI 资源',
link: '/ai',
expanded: true,
items: [
{
text: 'Group A',
link: '#groupA',
items: [{ text: 'Child A1', link: 'https://example.com/childA1' }],
},
],
},
{
text: '副业有道',
link: '/second-job',
expanded: true,
items: [
{
text: 'Group A',
link: '#groupA',
items: [{ text: 'Child', link: 'https://example.com/childA1' }],
},
],
},
],
}