mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
add toc-tree demo section
This commit is contained in:
parent
d9fc5a22b5
commit
a476fd3a0f
8
exampleSite/content/toc-tree/_index.md
Normal file
8
exampleSite/content/toc-tree/_index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: ToC Tree
|
||||
geekdocFlatSection: true
|
||||
---
|
||||
|
||||
This is just a demo section for the [toc-tree](/shortcodes/toc-tree/) shortcode.
|
||||
|
||||
{{< toc-tree >}}
|
3
exampleSite/content/toc-tree/level-1/_index.md
Normal file
3
exampleSite/content/toc-tree/level-1/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
Level 1
|
||||
|
||||
{{< toc-tree >}}
|
5
exampleSite/content/toc-tree/level-1/level-1-1.md
Normal file
5
exampleSite/content/toc-tree/level-1/level-1-1.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Level 1.1
|
||||
---
|
||||
|
||||
Level 1.1
|
5
exampleSite/content/toc-tree/level-1/level-1-2.md
Normal file
5
exampleSite/content/toc-tree/level-1/level-1-2.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Level 1.2
|
||||
---
|
||||
|
||||
Level 1.2
|
7
exampleSite/content/toc-tree/level-1/level-1-3/_index.md
Normal file
7
exampleSite/content/toc-tree/level-1/level-1-3/_index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Level 1.3
|
||||
---
|
||||
|
||||
Level 1.3
|
||||
|
||||
{{< toc-tree >}}
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Level 1.3.1
|
||||
---
|
||||
|
||||
Level 1.3.1
|
1
exampleSite/content/toc-tree/level-2/_index.md
Normal file
1
exampleSite/content/toc-tree/level-2/_index.md
Normal file
@ -0,0 +1 @@
|
||||
Level-2
|
5
exampleSite/content/toc-tree/level-2/level-2-1.md
Normal file
5
exampleSite/content/toc-tree/level-2/level-2-1.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Level 2.1
|
||||
---
|
||||
|
||||
Level 2.1
|
5
exampleSite/content/toc-tree/level-2/level-2-2.md
Normal file
5
exampleSite/content/toc-tree/level-2/level-2-2.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Level 2.2
|
||||
---
|
||||
|
||||
Level 2.2
|
Loading…
Reference in New Issue
Block a user