Usage
{{< children page = "current page context" >}}Automatically lists child pages with links and descriptions for navigation
Description
Automatically generates a list of child pages for the current page, displaying them with file icons, titles, and descriptions. Perfect for section indexes and navigation aids.
Parameters
indicates required parameter
page =
"object"REQUIREDcurrent page
Hugo page context (automatically provided by hw shortcode)
Examples
Basic child page listing using hw shortcode
# Documentation Sections
{{<hw t="children">}}Use hw shortcode to automatically list all child pages with proper formatting
Section index with child pages and description
# API Documentation
This section covers all aspects of our REST API, from authentication to advanced usage patterns.
## Available Guides
{{<hw t="children">}}
{{<hw t="caption" text="All guides include practical examples and code samples">}}Perfect for section indexes that need automatic navigation to subsections
Tutorial series with child page navigation
{{<hw t="block"
header="Tutorial Series: Getting Started"
description="Follow these step-by-step tutorials to master our platform.">}}
## Tutorials in This Series
{{<hw t="children">}}
{{<hw t="banner" text="Complete all tutorials to unlock advanced features!">}}
{{</hw>}}Combine with other partials for rich tutorial and course navigation
Documentation hub with organized sections
{{<hw t="accordion">}}
{{<hw t="acc-tab" header="๐ Available Documentation">}}
{{<hw t="children">}}
{{</hw>}}
{{<hw t="acc-tab" header="๐ Related Resources">}}
{{<hw t="include" from="docs/external-links.md">}}
{{</hw>}}
{{<hw t="acc-tab" header="โ Need Help?">}}
{{<hw t="block" header="Contact Support" src="/images/support-icon.png">}}
Can't find what you're looking for? Our support team is here to help.
{{</hw>}}
{{</hw>}}
{{</hw>}}Organize child pages within accordions for better space management
Course module index with progress tracking
# Course: Web Development Fundamentals
{{<hw t="table">}}
{{<hw t="thead">}}
{{<hw t="trth">}}Module Overview{{</hw>}}
{{</hw>}}
{{<hw t="tbody">}}
{{<hw t="trtd">}}
{{<hw t="children">}}
{{</hw>}}
{{</hw>}}
{{</hw>}}
{{<hw t="caption"
header="Progress Tip"
text="Complete modules in order for the best learning experience">}}Embed child listings in tables and other structures for custom layouts
Product feature sections with auto-navigation
# Platform Features
Explore the powerful features that make our platform the choice for modern developers.
{{<hw t="children">}}
---
{{<hw t="blog" count="2">}}
{{<hw t="caption" text="Stay updated with our latest feature announcements and tutorials">}}Mix with blog content to show both static navigation and dynamic updates
Additional Information