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

@ -6,3 +6,7 @@ weight = 10
+++
This is a demo child page.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -6,3 +6,7 @@ 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.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -5,3 +5,7 @@ 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.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -4,3 +4,7 @@ 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.
## Subpages of this page
{{% children showhidden="true" %}}

View file

@ -5,3 +5,7 @@ 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.
## Subpages of this page
{{% children showhidden="true" %}}

View file

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

View file

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