From e71324bba7b85db0a617468fff9112a29f0a72ba Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 11 May 2020 21:26:37 +0200 Subject: Added documentation for config options --- exampleSite/content/configuration/_index.md | 20 ++++++++++++++++++++ exampleSite/content/shortcodes/_index.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 exampleSite/content/configuration/_index.md (limited to 'exampleSite') diff --git a/exampleSite/content/configuration/_index.md b/exampleSite/content/configuration/_index.md new file mode 100644 index 0000000..54665a3 --- /dev/null +++ b/exampleSite/content/configuration/_index.md @@ -0,0 +1,20 @@ ++++ +title = "Configuration" +description = "" +weight = 2 ++++ + +{{< lead >}} +Customize and tweak Ace using a number of configuration options. +{{< /lead >}} + +## Table of contents + +By default, a table of contents (ToC) is generated for each page in the right side menu. This can be disabled using: + +{{< code >}} +toc = false +{{< /code >}} + +in the config.toml or the frontmatter (a page's markdown file) for a page-wide or page-specific disabling of the ToC respectively. + diff --git a/exampleSite/content/shortcodes/_index.md b/exampleSite/content/shortcodes/_index.md index 70bdaf6..70ecd37 100644 --- a/exampleSite/content/shortcodes/_index.md +++ b/exampleSite/content/shortcodes/_index.md @@ -1,7 +1,7 @@ +++ title = "Shortcodes" description = "" -weight = 0 +weight = 3 +++ {{< lead >}} -- cgit v1.2.3