feat(ToC): implement setting hierarchy for ToC

Related: #128 and #120
This commit is contained in:
welpo
2023-09-07 01:59:28 +02:00
parent d6a5b1ab93
commit 695e40be70
3 changed files with 11 additions and 2 deletions

View File

@@ -204,6 +204,10 @@ katex = false
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://github.com/welpo/tabi/pull/128
quick_navigation_buttons = false
# Add a Table of Contents to posts, right below the title and metadata.
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://github.com/welpo/tabi/pull/128
toc = false
# Date format used when listing posts (main page, /blog section, tag posts list…)
# Default is "6th July 2049" in English and "%d %B %Y" in other languages.
long_date_format = "%d %B %Y"