Commit 7e3b940f authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

display TOC with pelican-toc plugin

parent 39d4c1db
Pipeline #41699353 passed with stage
in 1 minute and 49 seconds
......@@ -4,3 +4,6 @@
[submodule "plugins/pelican-bootstrapify"]
path = plugins/pelican-bootstrapify
url = https://github.com/ingwinlu/pelican-bootstrapify
[submodule "plugins/pelican-toc"]
path = plugins/pelican-toc
url = https://github.com/ingwinlu/pelican-toc
......@@ -109,6 +109,22 @@ PYGMENTS_RST_OPTIONS = {'linenos': 'table', 'anchorlinenos' : 'true'}
# installed via pip
PLUGINS.append('pelican_youtube')
##
## Plugin settings: pelican-toc
##
PLUGINS.append('pelican-toc')
TOC = {
'TOC_HEADERS' : '^h[1-3]', # What headers should be included in
# the generated toc
# Expected format is a regular expression
'TOC_RUN' : 'true', # Default value for toc generation,
# if it does not evaluate
# to 'true' no toc will be generated
'TOC_INCLUDE_TITLE': 'false', # If 'true' include title in toc
}
##
## Plugin settings: pelican-sitemap
......
Subproject commit b98d89b2cfa857c59b647ef0983a470408d6d8cd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment