diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-09 01:00:26 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-09 01:00:40 +0200 |
commit | e2188136e102ca7790f0b9e5efec65b49face6f1 (patch) | |
tree | fcbd347112142c72263d4c00120666dae4364e56 /exampleSite | |
parent | 071e069d929df9b8bf50f6ab31d69e10bcf5c892 (diff) |
#51, Add experimental bookCollapseSection page param to hide nested sections
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | exampleSite/config.yaml | 6 | ||||
-rw-r--r-- | exampleSite/content/docs/example/table-of-contents/3rd/4th/5th.md | 1 | ||||
-rw-r--r-- | exampleSite/content/docs/example/table-of-contents/3rd/4th/_index.md | 26 | ||||
-rw-r--r-- | exampleSite/content/docs/example/table-of-contents/3rd/_index.md | 22 |
5 files changed, 53 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index da4ac19..32ab022 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,7 +26,7 @@ pygmentsCodeFences = true # (Optional, default none) Set leaf bundle to render as side menu # When not specified file structure and weights will be used - BookMenuBundle = '/menu' + # BookMenuBundle = '/menu' # (Optional, default docs) Specify section of content to render as menu # You can also set value to '*' to render all sections to menu diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 691af01..8719742 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -16,17 +16,17 @@ pygmentsCodeFences: true params: # (Optional, default 6) Set how many table of contents levels to be showed on page. - # Use false/off to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/) + # Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/) # You can also specify this parameter per page in front matter BookToC: 3 # (Optional, default none) Set the path to a logo for the book. If the logo is - # /static/logo.png then the path would be /logo.png + # /static/logo.png then the path would be logo.png # BookLogo: /logo.png # (Optional, default none) Set leaf bundle to render as side menu # When not specified file structure and weights will be used - BookMenuBundle: /menu + # BookMenuBundle: /menu # (Optional, default docs) Specify section of content to render as menu # You can also set value to '*' to render all sections to menu diff --git a/exampleSite/content/docs/example/table-of-contents/3rd/4th/5th.md b/exampleSite/content/docs/example/table-of-contents/3rd/4th/5th.md new file mode 100644 index 0000000..d956236 --- /dev/null +++ b/exampleSite/content/docs/example/table-of-contents/3rd/4th/5th.md @@ -0,0 +1 @@ +# 5th diff --git a/exampleSite/content/docs/example/table-of-contents/3rd/4th/_index.md b/exampleSite/content/docs/example/table-of-contents/3rd/4th/_index.md new file mode 100644 index 0000000..031efc8 --- /dev/null +++ b/exampleSite/content/docs/example/table-of-contents/3rd/4th/_index.md @@ -0,0 +1,26 @@ +# Locus fuit caecis + +Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae +miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me +ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta. +Intravit quam erat figentem hunc, motus de fontes parvo tempestate. + + iscsi_virus = pitch(json_in_on(eupViral), + northbridge_services_troubleshooting, personal( + firmware_rw.trash_rw_crm.device(interactive_gopher_personal, + software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel, + mips_whitelist_duplex, cpa))); + if (5) { + managementNetwork += dma - boolean; + kilohertz_token = 2; + honeypot_affiliate_ergonomics = fiber; + } + mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet( + analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet), + gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork, + trim_duplex_file), cellTapeDirect, token_tooltip_mashup( + ripcordingMashup))); + module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) + + coreLog.joystick(componentUdpLink), windows_expansion_touchscreen); + bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling( + ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp); diff --git a/exampleSite/content/docs/example/table-of-contents/3rd/_index.md b/exampleSite/content/docs/example/table-of-contents/3rd/_index.md new file mode 100644 index 0000000..350b1e8 --- /dev/null +++ b/exampleSite/content/docs/example/table-of-contents/3rd/_index.md @@ -0,0 +1,22 @@ +--- +bookCollapseSection: true +--- + +# Caput vino delphine in tamen vias + +## Cognita laeva illo fracta + +Lorem markdownum pavent auras, surgit nunc cingentibus libet **Laomedonque que** +est. Pastor [An](http://est.org/ire.aspx) arbor filia foedat, ne [fugit +aliter](http://www.indiciumturbam.org/moramquid.php), per. Helicona illas et +callida neptem est *Oresitrophos* caput, dentibus est venit. Tenet reddite +[famuli](http://www.antro-et.net/) praesentem fortibus, quaeque vis foret si +frondes *gelidos* gravidae circumtulit [inpulit armenta +nativum](http://incurvasustulit.io/illi-virtute.html). + +1. Te at cruciabere vides rubentis manebo +2. Maturuit in praetemptat ruborem ignara postquam habitasse +3. Subitarum supplevit quoque fontesque venabula spretis modo +4. Montis tot est mali quasque gravis +5. Quinquennem domus arsit ipse +6. Pellem turis pugnabant locavit |