You've already forked no-js-hugo-theme
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:
@ -53,6 +53,11 @@ blockquote {
|
||||
color: rgb(150, 150, 150);
|
||||
}
|
||||
|
||||
.table-of-contents {
|
||||
border-color: #505050;
|
||||
background-color: #1A1A1A;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 400pt) {
|
||||
.links {
|
||||
background-color: rgb(30, 30, 30);
|
||||
|
Reference in New Issue
Block a user