-
- Downloads
Add short-code to list (nested) pages of the current section
Adds a new short-code to display all (nested) section pages in a link list (with
header title) with nested link lists for nested page sections. The order of the
list items resembles the page order in the navigation menu.
Usage:
Use the short-code in the markdown page the represents a subsection (a
subsection is represented by a markdown page and a subsection directory
(identically named) that resides in the same directory as the markdown page).
```
{{< section-toc title="Contents">}}
```
Note that the named input argument `title` is optional and defaults to
`Contents`.
Signed-off-by:
Sietze van Buuren <Sietze.vanBuuren@de.bosch.com>
parent
31679f08
No related branches found
No related tags found
Pipeline #667577 passed with warnings
Stage: test
Stage: generate-html
Stage: generate-pdf
Stage: test-urls
Stage: deploy
Showing
- themes/apertis/layouts/partials/subsection-listing.html 12 additions, 0 deletionsthemes/apertis/layouts/partials/subsection-listing.html
- themes/apertis/layouts/partials/subsection-pages.html 18 additions, 0 deletionsthemes/apertis/layouts/partials/subsection-pages.html
- themes/apertis/layouts/shortcodes/section-toc.html 3 additions, 0 deletionsthemes/apertis/layouts/shortcodes/section-toc.html
Please register or sign in to comment