From 4ba89ec50211f375cf9e215036ca6235aaa4137b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 28 Aug 2021 09:36:06 +0200 Subject: [PATCH] docs: show subpages in children example --- .../content/shortcodes/children/children-1/_index.en.md | 6 +++++- .../children/children-1/children-1-1/_index.en.md | 6 +++++- .../children-1/children-1-1/children-1-1-1/_index.en.md | 6 +++++- .../children-1-1-1/children-1-1-1-1/_index.en.md | 6 +++++- .../children-1-1-1-1/children-1-1-1-1-1/_index.en.md | 6 +++++- .../children-1/children-1-1/children-1-1-2/_index.en.md | 6 +++++- .../children-1-1-2/children-1-1-2-1/_index.en.md | 2 +- .../children-1-1-2/children-1-1-2-2/_index.en.md | 2 +- .../children-1/children-1-1/children-1-1-3/_index.en.md | 2 +- .../content/shortcodes/children/children-2/_index.en.md | 2 +- .../content/shortcodes/children/children-3/_index.en.md | 6 +++++- .../content/shortcodes/children/children-3/test3.en.md | 2 +- .../content/shortcodes/children/children-4/_index.en.md | 2 +- exampleSite/content/shortcodes/children/test.en.md | 2 +- 14 files changed, 42 insertions(+), 14 deletions(-) diff --git a/exampleSite/content/shortcodes/children/children-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/_index.en.md index 76b027f34c..af43acb144 100644 --- a/exampleSite/content/shortcodes/children/children-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/_index.en.md @@ -5,4 +5,8 @@ title = "page 1" weight = 10 +++ -This is a demo child page. \ No newline at end of file +This is a demo child page. + +## Subpages of this page + +{{% children showhidden="true" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md index dacc430c1d..465dd46d42 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md @@ -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. \ No newline at end of file +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" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md index f7cdb0440c..4d4f192e06 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md @@ -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. \ No newline at end of file +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" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md index dff18cc7b4..bf6748f0c3 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md @@ -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. \ No newline at end of file +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" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.en.md index fbcb5324ef..4d29965c03 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.en.md @@ -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. \ No newline at end of file +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" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md index 429d668b85..cac802a3a4 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/_index.en.md @@ -3,4 +3,8 @@ description = "This is a demo child page" title = "page 1-1-2" +++ -This is a plain demo child page. \ No newline at end of file +This is a plain demo child page. + +## Subpages of this page + +{{% children showhidden="true" %}} diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/_index.en.md index 10eaa43ed0..63ad91e682 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/_index.en.md @@ -3,4 +3,4 @@ description = "This is a demo child page" title = "page 1-1-2-1" +++ -This is a plain demo child page. \ No newline at end of file +This is a plain demo child page. diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/_index.en.md index 133fe88563..e1bbb7341a 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/_index.en.md @@ -3,4 +3,4 @@ description = "This is a demo child page" title = "page 1-1-2-2" +++ -This is a plain demo child page. \ No newline at end of file +This is a plain demo child page. diff --git a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-3/_index.en.md b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-3/_index.en.md index 488c2dbdbd..b0a384342c 100644 --- a/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-3/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-3/_index.en.md @@ -3,4 +3,4 @@ description = "This is a demo child page" title = "page 1-1-3" +++ -This is a plain demo child page. \ No newline at end of file +This is a plain demo child page. diff --git a/exampleSite/content/shortcodes/children/children-2/_index.en.md b/exampleSite/content/shortcodes/children/children-2/_index.en.md index 1468f8515a..c90b926760 100644 --- a/exampleSite/content/shortcodes/children/children-2/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-2/_index.en.md @@ -6,4 +6,4 @@ weight = 20 This is a demo child page with no description. -So its content is used as description. \ No newline at end of file +So its content is used as description. diff --git a/exampleSite/content/shortcodes/children/children-3/_index.en.md b/exampleSite/content/shortcodes/children/children-3/_index.en.md index 953d34e95d..7e76e5860c 100644 --- a/exampleSite/content/shortcodes/children/children-3/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-3/_index.en.md @@ -5,4 +5,8 @@ title = "page 3" weight = 30 +++ -This is a demo child page. \ No newline at end of file +This is a demo child page. + +## Subpages of this page + +{{% children showhidden="true" %}} diff --git a/exampleSite/content/shortcodes/children/children-3/test3.en.md b/exampleSite/content/shortcodes/children/children-3/test3.en.md index 130f5b6285..22497304d0 100644 --- a/exampleSite/content/shortcodes/children/children-3/test3.en.md +++ b/exampleSite/content/shortcodes/children/children-3/test3.en.md @@ -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. \ No newline at end of file +This is a plain demo child page. diff --git a/exampleSite/content/shortcodes/children/children-4/_index.en.md b/exampleSite/content/shortcodes/children/children-4/_index.en.md index 25b8559486..b0340600f4 100644 --- a/exampleSite/content/shortcodes/children/children-4/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-4/_index.en.md @@ -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. \ No newline at end of file +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. diff --git a/exampleSite/content/shortcodes/children/test.en.md b/exampleSite/content/shortcodes/children/test.en.md index 6c37d11aa3..62388ddf4e 100644 --- a/exampleSite/content/shortcodes/children/test.en.md +++ b/exampleSite/content/shortcodes/children/test.en.md @@ -4,4 +4,4 @@ title = "page X" weight = 1 +++ -This is a plain demo child page. \ No newline at end of file +This is a plain demo child page.