Added optional page table of contents

You can use the 'tableofcontents' front matter option to enable or
disable the display of a table of contents. Setting this option will
override the new site-wide parameter 'tableofcontentswordcount' which
will automatically add a table of contents on pages with more than
the specified number of words. Set to '0' to always show a table of
contents, or set to '-1' to never show a table of contents (the
default behaviour).
This commit is contained in:
Steven Engler
2019-09-12 17:14:59 -04:00
parent 5225065445
commit 53677f19d8
4 changed files with 58 additions and 0 deletions

View File

@ -37,3 +37,8 @@ blockquote {
.footer {
color: #383838;
}
.table-of-contents {
border-color: #E0E0E0;
background-color: #FAFAFA;
}