mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -4,4 +4,4 @@ title = "page X"
|
|||
weight = 1
|
||||
+++
|
||||
|
||||
This is a plain demo child page.
|
||||
This is a plain demo child page.
|
||||
|
|
Loading…
Reference in a new issue