diff options
Diffstat (limited to 'exampleSite/content/shortcodes/childpages.md')
-rw-r--r-- | exampleSite/content/shortcodes/childpages.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/exampleSite/content/shortcodes/childpages.md b/exampleSite/content/shortcodes/childpages.md new file mode 100644 index 0000000..e789272 --- /dev/null +++ b/exampleSite/content/shortcodes/childpages.md @@ -0,0 +1,13 @@ ++++ +title = "Childpages" +description = "" +weight = 3 ++++ + +The childpages shortcode allows you to show a list of sub-pages of the current page. For example, the *Getting started* page of this documentation has three child pages: *Installation*, *Configuration* and *Creating content*. Placing the childpages shortcode in the *Getting started* page will place a create a list of these sub-pages in that page. + +## Usage +Simply place the following shortcode on the page +{{< code lang="html" >}} +{{</* childpages */>}} +{{< /code >}}
\ No newline at end of file |