From 2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 Mon Sep 17 00:00:00 2001 From: Ahmed M Alaa Date: Sun, 4 Dec 2022 23:19:16 +0200 Subject: fix: adjusted list_page option, typos --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3