mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
children: remove unused page parameter from docs #336
This commit is contained in:
parent
564efc5e09
commit
29ef3c657a
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@ description = "List the child pages of a page"
|
|||
title = "Children"
|
||||
+++
|
||||
|
||||
The `children` shortcode lists the child pages of a page and its descendants .
|
||||
The `children` shortcode lists the child pages of the current page and its descendants .
|
||||
|
||||
{{% children sort="weight" %}}
|
||||
## Usage
|
||||
|
@ -35,7 +35,6 @@ While the examples are using shortcodes with named parameter you are free to als
|
|||
|
||||
| Name | Default | Notes |
|
||||
|:-------------------|:------------------|:------------|
|
||||
| **page** | _<current>_ | Specify the page name (section name) to display children for. |
|
||||
| **containerstyle** | `ul` | Choose the style used to group all children. It could be any HTML tag name. |
|
||||
| **style** | `li` | Choose the style used to display each descendant. It could be any HTML tag name. |
|
||||
| **showhidden** | `false` | When `true`, child pages hidden from the menu will be displayed aswell. |
|
||||
|
|
Loading…
Reference in a new issue