Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchith Hegde <sanchith.hegde01@gmail.com>2020-08-08 14:28:18 +0300
committerSanchith Hegde <sanchith.hegde01@gmail.com>2020-08-08 14:32:37 +0300
commit5644729dd6f56baa391063a76ae88ca1e5b3de54 (patch)
tree93f646e6a89cd64ea7c98124dde3c5570718f915 /README.md
parent228d950e3d6359ceb5f0ea90224352280316ab4b (diff)
docs: Document showPageTitleInTOC in README.md and config.toml
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 61775ba..9def7a1 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,19 @@ toc: false
The frontmatter above is the default for a new post, but all values can be changed.
+### Configuring Table of Contents in blog posts
+
+To display post title in Table of Contents in blog posts, set `showPageTitleInTOC`
+to `true` in the `[params]` section of `config.toml`.
+
+```toml
+# config.toml
+
+[params]
+ # ...
+ showPageTitleInTOC = true
+```
+
### Adding a new section menu
In your site's `config.toml`, add a new menu definition for say, "photos":