aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/README.md b/README.md
index af74eee..e3b69c3 100644
--- a/README.md
+++ b/README.md
@@ -24,13 +24,22 @@ theme = "no-style-please"
### Pages list in homepage
-To enable listing of pages in homepage add the following in `content\_index.md` frontmatter
+To enable listing of pages in homepage add the following in `config.toml`
```toml
-[exta]
+[extra]
list_pages = false
```
+### Add TOC to pages
+
+In a page frontmatter, set `extra.add_toc` to `true`
+
+```toml
+[extra]
+add_toc = true
+```
+
### Extra data
- `author` can be set in both main config and in pages metadata