Skip to content

Commit a3f70f5

Browse files
committed
Display subpages in chapter
1 parent 64a0940 commit a3f70f5

File tree

8 files changed

+17
-11
lines changed

8 files changed

+17
-11
lines changed

content/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ chapter: true
66
# CleverGo Web Framework
77

88
{{% button href="/en/getting-started" icon="fas fa-fw fa-hand-point-right" target="_self" %}}Getting Started{{% /button %}}
9-
{{% button href="https://github.com/clevergo/clevergo" icon="fab fa-fw fa-github" %}}Github{{% /button %}}
9+
{{% button href="https://github.com/clevergo/clevergo" icon="fab fa-fw fa-github" %}}Github{{% /button %}}
10+
11+
{{% children %}}

content/_index.zh.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ chapter: true
77

88
{{% button href="/zh/getting-started" icon="fas fa-fw fa-hand-point-right" target="_self" %}}入门指南{{% /button %}}
99
{{% button href="https://github.com/clevergo/clevergo" icon="fab fa-fw fa-github" %}}Github{{% /button %}}
10+
11+
{{% children %}}

content/basics/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ title: "Basics"
33
weight: 20
44
pre: '<i class="fas fa-fw fa-list"></i> '
55
---
6+
7+
{{% children %}}

content/basics/_index.zh.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ title: "基础知识"
33
weight: 20
44
pre: '<i class="fas fa-fw fa-list"></i> '
55
---
6+
7+
{{% children %}}

content/getting-started/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
title: "Getting Started"
33
weight: 10
44
pre: '<i class="fas fa-fw fa-hand-point-right"></i> '
5-
---
5+
---
6+
7+
{{% children %}}

content/getting-started/_index.zh.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
title: "入门指南"
33
weight: 10
44
pre: '<i class="fas fa-fw fa-hand-point-right"></i> '
5-
---
5+
---
6+
7+
{{% children %}}

content/packages/_index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: "Packages"
3-
chapter: true
43
pre: '<i class="fas fa-fw fa-cubes"></i> '
54
weight: 100
65
---
76

8-
# Packages
9-
10-
A set of packages for building web service.
7+
{{% children %}}

content/packages/_index.zh.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: "Packages"
3-
chapter: true
43
pre: '<i class="fas fa-fw fa-cubes"></i> '
54
weight: 100
65
---
76

8-
# Packages
9-
10-
A set of packages for building web service.
7+
{{% children %}}

0 commit comments

Comments
 (0)