From fef8d9978c2418740faab19e7a34951068ac4838 Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 11 May 2020 21:45:13 +0200 Subject: Allow disabling read more nav and extended config docs --- exampleSite/content/configuration/_index.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/content/configuration/_index.md b/exampleSite/content/configuration/_index.md index 54665a3..dd05a47 100644 --- a/exampleSite/content/configuration/_index.md +++ b/exampleSite/content/configuration/_index.md @@ -8,6 +8,12 @@ weight = 2 Customize and tweak Ace using a number of configuration options. {{< /lead >}} + +## Page ordering + +By default, pages are sorted on the weight assigned to them in their frontmatter. This is set in config.toml, using orderSectionsby = "weight". Change this to "title" to sort pages alphabetically based on their title instead. Alternatively, do not assign a weight to any pages and it will also sort them alphabetically on their title. + + ## 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: @@ -18,3 +24,20 @@ toc = false in the config.toml or the frontmatter (a page's markdown file) for a page-wide or page-specific disabling of the ToC respectively. +## Google Analytics + +Enable Google Analytics by adding your GA tracking ID to the config.toml file, at: +{{< code >}} +googleAnalytics = "XX-XXXXXXXXX-X" +{{< /code >}} +Where XX-XXXXXXXXX-X is your tracking ID. + + +## Read more navigation + +In config.toml or a page's frontmatter, set disableReadmoreNav = true to disable the prev/next buttons at the buttom of every page. + + +## Search + +Disable search by setting disableSearch = true in config.toml. \ No newline at end of file -- cgit v1.2.3