mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
docs: show subpages in children example
This commit is contained in:
parent
a7a7d624e1
commit
4ba89ec502
14 changed files with 42 additions and 14 deletions
|
@ -6,3 +6,7 @@ weight = 10
|
|||
+++
|
||||
|
||||
This is a demo child page.
|
||||
|
||||
## Subpages of this page
|
||||
|
||||
{{% children showhidden="true" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -4,3 +4,7 @@ title = "page 1-1-2"
|
|||
+++
|
||||
|
||||
This is a plain demo child page.
|
||||
|
||||
## Subpages of this page
|
||||
|
||||
{{% children showhidden="true" %}}
|
||||
|
|
|
@ -6,3 +6,7 @@ weight = 30
|
|||
+++
|
||||
|
||||
This is a demo child page.
|
||||
|
||||
## Subpages of this page
|
||||
|
||||
{{% children showhidden="true" %}}
|
||||
|
|
Loading…
Reference in a new issue