diff options
| author | Ahmed M Alaa <aa@4b.cx> | 2022-12-04 23:19:16 +0200 |
|---|---|---|
| committer | Ahmed M Alaa <aa@4b.cx> | 2022-12-04 23:19:16 +0200 |
| commit | 2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (patch) | |
| tree | a735e70bd255b3cb7aa3a011df5dc33500a01495 /README.md | |
| parent | 06e0d3f6499fefa06f78247caddcf34018af180c (diff) | |
fix: adjusted list_page option, typos
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |
