2022-04-02 13:30:16 +00:00
<!DOCTYPE html>
2022-11-01 01:10:49 +00:00
< html lang = "en" dir = "ltr" >
2022-04-02 13:30:16 +00:00
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0" >
2023-08-07 20:50:08 +00:00
< meta name = "generator" content = "Hugo 0.117.0" >
2023-08-12 23:44:08 +00:00
< meta name = "generator" content = "Relearn 5.19.0+tip" >
2022-04-02 13:30:16 +00:00
< meta name = "description" content = "List the child pages of a page" >
< meta name = "author" content = "Sören Weber" >
< title > Children :: Hugo Relearn Theme< / title >
2023-01-25 11:42:06 +00:00
< link href = "https://McShelby.github.io/hugo-theme-relearn/shortcodes/children/index.html" rel = "alternate" hreflang = "x-default" >
< link href = "https://McShelby.github.io/hugo-theme-relearn/shortcodes/children/index.html" rel = "alternate" hreflang = "en" >
< link href = "https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/children/index.html" rel = "alternate" hreflang = "pir" >
2022-11-15 06:35:08 +00:00
< link href = "https://McShelby.github.io/hugo-theme-relearn/shortcodes/children/index.html" rel = "canonical" type = "text/html" title = "Children :: Hugo Relearn Theme" >
2022-11-06 00:38:34 +00:00
< link href = "../../shortcodes/children/index.xml" rel = "alternate" type = "application/rss+xml" title = "Children :: Hugo Relearn Theme" >
2023-08-12 23:44:08 +00:00
< link href = "../../images/logo.svg?1691883841" rel = "icon" type = "image/svg+xml" >
2022-07-15 13:20:02 +00:00
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how - to - use -->
2023-08-12 23:44:08 +00:00
< link href = "../../css/fontawesome-all.min.css?1691883841" rel = "stylesheet" media = "print" onload = "this.media='all';this.onload=null;" > < noscript > < link href = "../../css/fontawesome-all.min.css?1691883841" rel = "stylesheet" > < / noscript >
< link href = "../../css/nucleus.css?1691883841" rel = "stylesheet" >
< link href = "../../css/auto-complete.css?1691883841" rel = "stylesheet" media = "print" onload = "this.media='all';this.onload=null;" > < noscript > < link href = "../../css/auto-complete.css?1691883841" rel = "stylesheet" > < / noscript >
< link href = "../../css/perfect-scrollbar.min.css?1691883841" rel = "stylesheet" >
< link href = "../../css/fonts.css?1691883841" rel = "stylesheet" media = "print" onload = "this.media='all';this.onload=null;" > < noscript > < link href = "../../css/fonts.css?1691883841" rel = "stylesheet" > < / noscript >
< link href = "../../css/theme.css?1691883841" rel = "stylesheet" >
< link href = "../../css/theme-auto.css?1691883841" rel = "stylesheet" id = "variant-style" >
< link href = "../../css/variant.css?1691883841" rel = "stylesheet" >
< link href = "../../css/print.css?1691883841" rel = "stylesheet" media = "print" >
< link href = "../../css/format-print.css?1691883841" rel = "stylesheet" >
< link href = "../../css/ie.css?1691883841" rel = "stylesheet" >
< script src = "../../js/url.js?1691883841" > < / script >
< script src = "../../js/variant.js?1691883841" > < / script >
2022-04-02 13:30:16 +00:00
< script >
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
2022-11-05 23:35:48 +00:00
window.index_js_url="../../index.search.js";
var root_url="../../";
2022-04-02 13:30:16 +00:00
var baseUri=root_url.replace(/\/$/, '');
// translations
window.T_Copy_to_clipboard = 'Copy to clipboard';
window.T_Copied_to_clipboard = 'Copied to clipboard!';
window.T_Copy_link_to_clipboard = 'Copy link to clipboard';
window.T_Link_copied_to_clipboard = 'Copied link to clipboard!';
2022-11-17 21:13:11 +00:00
window.T_No_results_found = 'No results found for \u0022{0}\u0022';
window.T_N_results_found = '{1} results found for \u0022{0}\u0022';
2022-04-02 13:30:16 +00:00
// some further base stuff
var baseUriFull='https:\/\/McShelby.github.io\/hugo-theme-relearn/';
2023-08-12 14:11:21 +00:00
window.variants & & variants.init( [ 'auto', 'relearn-bright', 'relearn-light', 'relearn-dark', 'zen-light', 'zen-dark', 'neon', 'learn', 'blue', 'green', 'red' ] );
2022-04-02 13:30:16 +00:00
< / script >
2022-12-02 15:05:54 +00:00
< style >
#body img.bg-white {
background-color: white;
}
< / style >
2022-04-02 13:30:16 +00:00
< / head >
2022-11-15 06:35:08 +00:00
< body class = "mobile-support print disableInlineCopyToClipboard" data-url = "../../shortcodes/children/index.html" >
2022-04-02 13:30:16 +00:00
< div id = "body" class = "default-animation" >
< div id = "sidebar-overlay" > < / div >
< div id = "toc-overlay" > < / div >
2023-02-08 23:54:12 +00:00
< nav id = "topbar" class = "highlightable" >
2022-04-02 13:30:16 +00:00
< div >
< div id = "breadcrumbs" >
< span id = "sidebar-toggle-span" >
2023-02-04 15:02:34 +00:00
< a href = "#" id = "sidebar-toggle" class = "topbar-link" title = 'Menu (CTRL+ALT+n)' > < i class = "fas fa-bars fa-fw" > < / i > < / a >
2022-04-02 13:30:16 +00:00
< / span >
< ol class = "links" itemscope itemtype = "http://schema.org/BreadcrumbList" >
2023-05-18 20:52:30 +00:00
< li itemscope itemtype = "https://schema.org/ListItem" itemprop = "itemListElement" > < a itemprop = "item" href = "../../index.html" > < span itemprop = "name" > Hugo Relearn Theme< / span > < / a > < meta itemprop = "position" content = "1" > > < / li >
< li itemscope itemtype = "https://schema.org/ListItem" itemprop = "itemListElement" > < a itemprop = "item" href = "../../shortcodes/index.html" > < span itemprop = "name" > Shortcodes< / span > < / a > < meta itemprop = "position" content = "2" > > < / li >
2022-10-02 22:25:49 +00:00
< li itemscope itemtype = "https://schema.org/ListItem" itemprop = "itemListElement" > < span itemprop = "name" > Children< / span > < meta itemprop = "position" content = "3" > < / li >
2022-04-02 13:30:16 +00:00
< / ol >
< / div >
< / div >
< / nav >
2022-07-05 22:16:52 +00:00
< main id = "body-inner" class = "highlightable default" tabindex = "-1" >
2022-04-02 13:30:16 +00:00
< div class = "flex-block-wrapper" >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "children" > Children< / h1 >
2022-07-05 22:16:52 +00:00
2023-01-14 00:40:32 +00:00
< p > The < code > children< / code > shortcode lists the child pages of the current page and its descendants.< / p >
2023-06-03 20:59:23 +00:00
2022-06-22 22:08:50 +00:00
< ul class = "children children-li children-sort-weight" >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < / li >
< li > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < / li >
< li > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < / li >
< li > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < / li >
2022-06-22 22:08:50 +00:00
< / ul >
2022-04-02 13:30:16 +00:00
< h2 id = "usage" > Usage< / h2 >
2022-06-22 22:08:50 +00:00
< p > While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.< / p >
2023-07-27 15:06:14 +00:00
< div class = "tab-panel" data-tab-group = "shortcode-parameter" >
2022-06-22 22:08:50 +00:00
< div class = "tab-nav" >
2023-06-06 17:55:15 +00:00
< div class = "tab-nav-title" > ​ < / div >
2022-06-22 22:08:50 +00:00
< button
data-tab-item="shortcode"
2023-06-06 16:16:06 +00:00
class="tab-nav-button tab-panel-style cstyle initial active"
2023-07-27 15:06:14 +00:00
onclick="switchTab('shortcode-parameter','shortcode')"
2023-01-29 16:05:10 +00:00
>
2023-06-06 16:16:06 +00:00
< div >
< div class = "tab-nav-hidden" > shortcode< / div >
< div class = "tab-nav-text" > shortcode< / div >
< / div >
2023-06-04 22:28:49 +00:00
< / button >
2022-06-22 22:08:50 +00:00
< button
data-tab-item="partial"
2023-06-06 16:16:06 +00:00
class="tab-nav-button tab-panel-style cstyle initial"
2023-07-27 15:06:14 +00:00
onclick="switchTab('shortcode-parameter','partial')"
2023-01-29 16:05:10 +00:00
>
2023-06-06 16:16:06 +00:00
< div >
< div class = "tab-nav-hidden" > partial< / div >
< div class = "tab-nav-text" > partial< / div >
< / div >
2023-06-04 22:28:49 +00:00
< / button >
2022-06-22 22:08:50 +00:00
< / div >
2023-06-05 16:33:00 +00:00
< div class = "tab-content-container" >
2023-01-29 16:05:10 +00:00
< div
data-tab-item="shortcode"
2023-06-06 16:16:06 +00:00
class="tab-content tab-panel-style cstyle initial active">
2023-06-05 16:33:00 +00:00
< div class = "tab-content-text" >
2023-06-04 22:25:27 +00:00
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "nx" > sort< / span > < span class = "p" > =< / span > < span class = "s" > " weight" < / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div > < / div >
2023-06-05 16:33:00 +00:00
< / div >
2023-01-29 16:05:10 +00:00
< div
data-tab-item="partial"
2023-06-06 16:16:06 +00:00
class="tab-content tab-panel-style cstyle initial">
2023-06-05 16:33:00 +00:00
< div class = "tab-content-text" >
2023-06-04 22:25:27 +00:00
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "nx" > partial< / span > < span class = "s" > " shortcodes/children.html" < / span > < span class = "p" > (< / span > < span class = "nx" > dict< / span >
2023-07-27 15:06:14 +00:00
< / span > < / span > < span class = "line" > < span class = "cl" > < span class = "s" > " page" < / span > < span class = "p" > .< / span >
2022-06-22 22:08:50 +00:00
< / span > < / span > < span class = "line" > < span class = "cl" > < span class = "s" > " sort" < / span > < span class = "s" > " weight" < / span >
2023-06-21 23:23:13 +00:00
< / span > < / span > < span class = "line" > < span class = "cl" > < span class = "p" > )}}< / span > < / span > < / span > < / code > < / pre > < / div > < / div >
2023-06-05 16:33:00 +00:00
< / div >
2022-06-22 22:08:50 +00:00
< / div >
< / div >
< h3 id = "parameter" > Parameter< / h3 >
2022-04-02 13:30:16 +00:00
< table >
< thead >
< tr >
2023-07-27 15:06:14 +00:00
< th > Name< / th >
< th > Default< / th >
< th > Notes< / th >
2022-04-02 13:30:16 +00:00
< / tr >
< / thead >
< tbody >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > containerstyle< / strong > < / td >
< td > < code > ul< / code > < / td >
< td > Choose the style used to group all children. It could be any HTML tag name.< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > style< / strong > < / td >
< td > < code > li< / code > < / td >
< td > Choose the style used to display each descendant. It could be any HTML tag name.< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > showhidden< / strong > < / td >
< td > < code > false< / code > < / td >
< td > When < code > true< / code > , child pages hidden from the menu will be displayed as well.< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > description< / strong > < / td >
< td > < code > false< / code > < / td >
< td > When < code > true< / code > shows a short text under each page in the list. When no description or summary exists for the page, the first 70 words of the content is taken - < a href = "https://gohugo.io/content/summaries/" target = "_blank" > read more info about summaries on gohugo.io< / a > .< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > depth< / strong > < / td >
< td > < code > 1< / code > < / td >
< td > The depth of descendants to display. For example, if the value is < code > 2< / code > , the shortcode will display two levels of child pages. To get all descendants, set this value to a high number eg. < code > 999< / code > .< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< tr >
2023-07-27 15:06:14 +00:00
< td > < strong > sort< / strong > < / td >
< td > see notes< / td >
< td > The sort order of the displayed list.< br > < br > If not set it is sorted by the < a href = "../../basics/configuration/#global-site-parameters" > < code > ordersectionsby< / code > < / a > setting of the site and the pages frontmatter< br > < br > - < code > weight< / code > : to sort on menu order< br > - < code > title< / code > : to sort alphabetically on menu label.< / td >
2022-04-02 13:30:16 +00:00
< / tr >
< / tbody >
< / table >
2022-06-05 17:32:37 +00:00
< h2 id = "examples" > Examples< / h2 >
< h3 id = "all-default" > All Default< / h3 >
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div >
2023-06-03 20:59:23 +00:00
< ul class = "children children-li children-sort-" >
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < / li >
< li > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < / li >
< li > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < / li >
< li > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
2022-06-05 17:32:37 +00:00
< h3 id = "with-description" > With Description< / h3 >
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "nx" > description< / span > < span class = "p" > =< / span > < span class = "s" > " true" < / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div >
2023-06-03 20:59:23 +00:00
< ul class = "children children-li children-sort-" >
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < p > This is a plain page test, and the beginning of a YAML multiline description...
2022-10-07 18:46:19 +00:00
< / p > < / li >
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < p > This is a demo child page< / p > < / li >
< li > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < p > This is a demo child page with no description.
2022-10-07 18:46:19 +00:00
So its content is used as description.< / p > < / li >
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < p > This is a demo child page< / p > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
2022-10-31 14:06:51 +00:00
< h3 id = "infinite-depth-and-hidden-pages" > Infinite Depth and Hidden Pages< / h3 >
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "nx" > depth< / span > < span class = "p" > =< / span > < span class = "s" > " 999" < / span > < span class = "nx" > showhidden< / span > < span class = "p" > =< / span > < span class = "s" > " true" < / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div >
2023-06-03 20:59:23 +00:00
< ul class = "children children-li children-sort-" >
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < ul >
< / ul > < / li >
< li > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/index.html" > page 1-1< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/index.html" > page 1-1-1 (hidden)< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/index.html" > page 1-1-1-1< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/index.html" > page 1-1-1-1-1 (hidden)< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/children-1-1-1-1-1-1/index.html" > page 1-1-1-1-1-1< / a > < ul >
< / ul > < / li > < / ul > < / li > < / ul > < / li > < / ul > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/index.html" > page 1-1-2< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/index.html" > page 1-1-2-1< / a > < ul >
< / ul > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/index.html" > page 1-1-2-2< / a > < ul >
< / ul > < / li > < / ul > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-3/index.html" > page 1-1-3< / a > < ul >
< / ul > < / li > < / ul > < / li > < / ul > < / li >
< li > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < ul >
< / ul > < / li >
< li > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < ul >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-3/test3/index.html" > page 3-1< / a > < ul >
< / ul > < / li > < / ul > < / li >
< li > < a href = "../../shortcodes/children/children-4/index.html" > page 4 (hidden)< / a > < ul >
< / ul > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
2022-06-05 17:32:37 +00:00
< h3 id = "heading-styles-for-container-and-elements" > Heading Styles for Container and Elements< / h3 >
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "nx" > containerstyle< / span > < span class = "p" > =< / span > < span class = "s" > " div" < / span > < span class = "nx" > style< / span > < span class = "p" > =< / span > < span class = "s" > " h2" < / span > < span class = "nx" > depth< / span > < span class = "p" > =< / span > < span class = "s" > " 3" < / span > < span class = "nx" > description< / span > < span class = "p" > =< / span > < span class = "s" > " true" < / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div >
2023-06-03 20:59:23 +00:00
< div class = "children children-h2 children-sort-" >
2022-11-08 14:43:28 +00:00
< h2 > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < / h2 > < p > This is a plain page test, and the beginning of a YAML multiline description...
2022-06-23 18:04:40 +00:00
< / p >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< h2 > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < / h2 > < p > This is a demo child page< / p >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< h3 > < a href = "../../shortcodes/children/children-1/children-1-1/index.html" > page 1-1< / a > < / h3 > < p > This is a demo child page< / p >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< h4 > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/index.html" > page 1-1-2< / a > < / h4 > < p > This is a demo child page< / p >
< h4 > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-3/index.html" > page 1-1-3< / a > < / h4 > < p > This is a demo child page< / p >
< h2 > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < / h2 > < p > This is a demo child page with no description.
2022-06-23 18:04:40 +00:00
So its content is used as description.< / p >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< h2 > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < / h2 > < p > This is a demo child page< / p >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< h3 > < a href = "../../shortcodes/children/children-3/test3/index.html" > page 3-1< / a > < / h3 > < p > This is a plain page test nested in a parent< / p >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< / div >
2022-06-05 17:32:37 +00:00
< h3 id = "divs-for-group-and-element-styles" > Divs for Group and Element Styles< / h3 >
2023-06-21 23:23:13 +00:00
< div class = "wrap-code highlight" > < pre tabindex = "0" class = "chroma" > < code class = "language-go" data-lang = "go" > < span class = "line" > < span class = "cl" > < span class = "p" > {{< / span > < span class = "o" > %< / span > < span class = "nx" > children< / span > < span class = "nx" > containerstyle< / span > < span class = "p" > =< / span > < span class = "s" > " div" < / span > < span class = "nx" > style< / span > < span class = "p" > =< / span > < span class = "s" > " div" < / span > < span class = "nx" > depth< / span > < span class = "p" > =< / span > < span class = "s" > " 3" < / span > < span class = "o" > %< / span > < span class = "p" > }}< / span > < / span > < / span > < / code > < / pre > < / div >
2023-06-03 20:59:23 +00:00
< div class = "children children-div children-sort-" >
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/test/index.html" > page X< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/children-1/index.html" > page 1< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/children-1/children-1-1/index.html" > page 1-1< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/index.html" > page 1-1-2< / a > < / div >
< div > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-3/index.html" > page 1-1-3< / a > < / div >
< div > < a href = "../../shortcodes/children/children-2/index.html" > page 2< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/children-3/index.html" > page 3< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< div > < a href = "../../shortcodes/children/children-3/test3/index.html" > page 3-1< / a > < / div >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< / div >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< section >
2022-10-07 18:46:19 +00:00
< h1 class = "a11y-only" > Subsections of Children< / h1 >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > Children< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-x" > page X< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1" > page 1< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a demo child page.< / p >
< h2 id = "subpages-of-this-page" > Subpages of this page< / h2 >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< ul class = "children children-li children-sort-" >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/index.html" > page 1-1< / a > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< section >
2022-10-07 18:46:19 +00:00
< h1 class = "a11y-only" > Subsections of page 1< / h1 >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1-1" > page 1-1< / h1 >
2022-07-05 22:16:52 +00:00
2022-12-16 17:42:17 +00:00
< p > This is a demo child page with a hidden child. You can still access the hidden child < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/" > directly< / a > or via the search.< / p >
2022-04-02 13:30:16 +00:00
< h2 id = "subpages-of-this-page" > Subpages of this page< / h2 >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< ul class = "children children-li children-sort-" >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-1/index.html" > page 1-1-1 (hidden)< / a > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/index.html" > page 1-1-2< / a > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-3/index.html" > page 1-1-3< / a > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< section >
2022-10-07 18:46:19 +00:00
< h1 class = "a11y-only" > Subsections of page 1-1< / h1 >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1-1-2" > page 1-1-2< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< h2 id = "subpages-of-this-page" > Subpages of this page< / h2 >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< ul class = "children children-li children-sort-" >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-1/index.html" > page 1-1-2-1< / a > < / li >
< li > < a href = "../../shortcodes/children/children-1/children-1-1/children-1-1-2/children-1-1-2-2/index.html" > page 1-1-2-2< / a > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< section >
2022-10-07 18:46:19 +00:00
< h1 class = "a11y-only" > Subsections of page 1-1-2< / h1 >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1-1-2-1" > page 1-1-2-1< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1-1-2-2" > page 1-1-2-2< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< / section >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-1-1-3" > page 1-1-3< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< / section >
< / section >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-2" > page 2< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a demo child page with no description.< / p >
< p > So its content is used as description.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-3" > page 3< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a demo child page.< / p >
< h2 id = "subpages-of-this-page" > Subpages of this page< / h2 >
2023-06-03 20:59:23 +00:00
2022-04-02 13:30:16 +00:00
< ul class = "children children-li children-sort-" >
2023-06-03 20:59:23 +00:00
2022-11-08 14:43:28 +00:00
< li > < a href = "../../shortcodes/children/children-3/test3/index.html" > page 3-1< / a > < / li >
2022-04-02 13:30:16 +00:00
< / ul >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< section >
2022-10-07 18:46:19 +00:00
< h1 class = "a11y-only" > Subsections of page 3< / h1 >
2022-11-07 19:58:08 +00:00
< article class = "default" >
2023-05-19 18:46:07 +00:00
< header class = "headline" >
< div class = "tags" >
< a class = "tag-link" href = "../../tags/children/index.html" > children< / a >
< a class = "tag-link" href = "../../tags/non-hidden/index.html" > non-hidden< / a >
< / div >
< / header >
2022-11-13 21:34:47 +00:00
< h1 id = "page-3-1" > page 3-1< / h1 >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< p > This is a plain demo child page.< / p >
< footer class = "footline" >
2023-05-26 06:40:21 +00:00
2022-04-02 13:30:16 +00:00
< / footer >
< / article >
2022-07-05 22:16:52 +00:00
2022-04-02 13:30:16 +00:00
< / section >
2023-05-17 22:13:41 +00:00
< / section >
< / div >
2022-04-02 13:30:16 +00:00
< / main >
< / div >
2023-08-12 23:44:08 +00:00
< script src = "../../js/clipboard.min.js?1691883842" defer > < / script >
< script src = "../../js/perfect-scrollbar.min.js?1691883842" defer > < / script >
< script src = "../../js/theme.js?1691883842" defer > < / script >
2022-04-02 13:30:16 +00:00
< / body >
< / html >