From beb80e48fc29ac0411da6155ac3e7a520fc71640 Mon Sep 17 00:00:00 2001 From: Andreas H Date: Wed, 3 Nov 2021 11:10:35 +0100 Subject: [PATCH] added Documentation for disableToc in config.toml --- exampleSite/content/basics/configuration/_index.en.md | 2 ++ exampleSite/content/basics/migration/_index.en.md | 1 + 2 files changed, 3 insertions(+) diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index 40e0c47d6d..e99907a730 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -47,6 +47,8 @@ Note that some of these parameters are explained in details in other sections of disableLanguageSwitchingButton = false # Hide breadcrumbs in the header and only show the current page title disableBreadcrumb = true + # Hide table of contens menu in the header of all pages + disableToc = true # If set to true, prevents Hugo from including the Mermaid module if not needed (will reduce load times and traffic) disableMermaid = false # Specifies the remote location of the Mermaid js diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index 14a2f2ac94..12b6176957 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -16,6 +16,7 @@ This document shows you what's new in the latest release. For a detailed list of ## 2.8.0 - **New**: The theme now supports favicons served from `static/images/` named as `favicon` or `logo` in SVG, PNG or ICO format [out of the box]({{% relref "basics/customization/#change-the-favicon" %}}). An overridden partial `layouts/partials/favicon.html` may not be necessary anymore in most cases. +- **New**: Parameter "disableToc" in config.toml in section [params]. Now you can disable the TOC feature globally for all Pages if you don't want use it. ## 2.7.0