-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
84 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
+++ | ||
title = "Configuration" | ||
description = "" | ||
weight = 2 | ||
+++ | ||
|
||
{{< lead >}} | ||
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 <code>frontmatter</code>. This is set in <code>config.toml</code>, using <code>orderSectionsby = "weight"</code>. Change this to <code>"title"</code> 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: | ||
|
||
{{< code >}} | ||
toc = false | ||
{{< /code >}} | ||
|
||
in the <code>config.toml</code> or the <code>frontmatter</code> (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 <code>config.toml</code> file, at: | ||
{{< code >}} | ||
googleAnalytics = "XX-XXXXXXXXX-X" | ||
{{< /code >}} | ||
Where <code>XX-XXXXXXXXX-X</code> is your tracking ID. | ||
|
||
|
||
## Read more navigation | ||
|
||
In <code>config.toml</code> or a page's <code>frontmatter</code>, set <code>disableReadmoreNav = true</code> to disable the prev/next buttons at the buttom of every page. | ||
|
||
|
||
## Search | ||
|
||
Disable search by setting <code>disableSearch = true</code> in <code>config.toml</code>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
+++ | ||
title = "Shortcodes" | ||
description = "" | ||
weight = 0 | ||
weight = 3 | ||
+++ | ||
|
||
{{< lead >}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters