docs: show subpages in children example

This commit is contained in:
Sören Weber 2021-08-28 09:36:06 +02:00
parent a7a7d624e1
commit 4ba89ec502
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
14 changed files with 42 additions and 14 deletions

View file

@ -5,4 +5,8 @@ title = "page 1"
weight = 10
+++
This is a demo child page.
This is a demo child page.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -5,4 +5,8 @@ title = "page 1-1"
+++
This is a demo child page with a hidden child. You can still access the hidden child [directly]({{% relref "shortcodes/children/children-1/children-1-1/children-1-1-1" %}}) or via the search.
This is a demo child page with a hidden child. You can still access the hidden child [directly]({{% relref "shortcodes/children/children-1/children-1-1/children-1-1-1" %}}) or via the search.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -4,4 +4,8 @@ hidden = true
title = "page 1-1-1 (hidden)"
+++
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -3,4 +3,8 @@ description = "This is a non-hidden demo child page of a hidden parent page"
title = "page 1-1-1-1"
+++
This is a **non-hidden** demo child page of a hidden parent page with a hidden child. You can still access the hidden child [directly]({{% relref "shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1" %}}) or via the search.
This is a **non-hidden** demo child page of a hidden parent page with a hidden child. You can still access the hidden child [directly]({{% relref "shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1" %}}) or via the search.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -4,4 +4,8 @@ hidden = true
title = "page 1-1-1-1-1 (hidden)"
+++
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -3,4 +3,8 @@ description = "This is a demo child page"
title = "page 1-1-2"
+++
This is a plain demo child page.
This is a plain demo child page.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -3,4 +3,4 @@ description = "This is a demo child page"
title = "page 1-1-2-1"
+++
This is a plain demo child page.
This is a plain demo child page.

View file

@ -3,4 +3,4 @@ description = "This is a demo child page"
title = "page 1-1-2-2"
+++
This is a plain demo child page.
This is a plain demo child page.

View file

@ -3,4 +3,4 @@ description = "This is a demo child page"
title = "page 1-1-3"
+++
This is a plain demo child page.
This is a plain demo child page.

View file

@ -6,4 +6,4 @@ weight = 20
This is a demo child page with no description.
So its content is used as description.
So its content is used as description.

View file

@ -5,4 +5,8 @@ title = "page 3"
weight = 30
+++
This is a demo child page.
This is a demo child page.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -3,4 +3,4 @@ description = "This is a plain page test nested in a parent"
title = "page 3-1"
+++
This is a plain demo child page.
This is a plain demo child page.

View file

@ -6,4 +6,4 @@ title = "page 4 (hidden)"
weight = 40
+++
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.
This is a **hidden** demo child page. This page and all its children are hidden in the menu, arrow navigation and children shortcode as long as you aren't viewing this page or its children directly.

View file

@ -4,4 +4,4 @@ title = "page X"
weight = 1
+++
This is a plain demo child page.
This is a plain demo child page.