aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAhmed M Alaa <aa@4b.cx>2022-12-04 23:19:16 +0200
committerAhmed M Alaa <aa@4b.cx>2022-12-04 23:19:16 +0200
commit2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (patch)
treea735e70bd255b3cb7aa3a011df5dc33500a01495 /README.md
parent06e0d3f6499fefa06f78247caddcf34018af180c (diff)
fix: adjusted list_page option, typos
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