diff options
author | Alan Cha <ac3805@columbia.edu> | 2020-07-31 06:40:15 +0300 |
---|---|---|
committer | Matthew Taylor <matalo33@users.noreply.github.com> | 2020-09-10 17:09:35 +0300 |
commit | 41a3f928f0a83ecba6db5219e2f0402f724e3b09 (patch) | |
tree | 4889d49409b3d5d20566d95a35668b55e022d8a7 /exampleSite | |
parent | 863876230cf6f738e24bdca3cbfd81475226eae3 (diff) |
Fix children shortcode table
HTML does not seem to display properly in the table
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/shortcodes/children/_index.en.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/content/shortcodes/children/_index.en.md b/exampleSite/content/shortcodes/children/_index.en.md index 0178536..17bdcfb 100644 --- a/exampleSite/content/shortcodes/children/_index.en.md +++ b/exampleSite/content/shortcodes/children/_index.en.md @@ -12,9 +12,9 @@ Use the children shortcode to list the child pages of a page and the further des | page | _current_ | Specify the page name (section name) to display children for | | style | "li" | Choose the style used to display descendants. It could be any HTML tag name | | showhidden | "false" | When true, child pages hidden from the menu will be displayed | -| description | "false" | Allows you to include a short text under each page in the list.<br/>when no description exists for the page, children shortcode takes the first 70 words of your content. [read more info about summaries on gohugo.io](https://gohugo.io/content/summaries/) | -| depth | 1 | Enter a number to specify the depth of descendants to display. For example, if the value is 2, the shortcode will display 2 levels of child pages. <br/> **Tips:** set 999 to get all descendants| -| sort | none | Sort Children By<br><li><strong>Weight</strong> - to sort on menu order</li><li><strong>Name</strong> - to sort alphabetically on menu label</li><li><strong>Identifier</strong> - to sort alphabetically on identifier set in frontmatter</li><li><strong>URL</strong> - URL</li> | +| description | "false" | Allows you to include a short text under each page in the list. When no description exists for the page, children shortcode takes the first 70 words of your content. [Read more info about summaries on gohugo.io](https://gohugo.io/content/summaries/) | +| depth | 1 | Enter a number to specify the depth of descendants to display. For example, if the value is 2, the shortcode will display 2 levels of child pages. **Tips:** set 999 to get all descendants | +| sort | none | Sort children by **Weight** - to sort on menu order, **Name** - to sort alphabetically on menu label, **Identifier** - to sort alphabetically on identifier set in frontmatter, and **URL** - to sort by URL | ## Demo |