diff options
author | Sanchith Hegde <sanchith.hegde01@gmail.com> | 2020-08-08 14:28:18 +0300 |
---|---|---|
committer | Sanchith Hegde <sanchith.hegde01@gmail.com> | 2020-08-08 14:32:37 +0300 |
commit | 5644729dd6f56baa391063a76ae88ca1e5b3de54 (patch) | |
tree | 93f646e6a89cd64ea7c98124dde3c5570718f915 /README.md | |
parent | 228d950e3d6359ceb5f0ea90224352280316ab4b (diff) |
docs: Document showPageTitleInTOC in README.md and config.toml
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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": |