| README.md | ●●●●● patch | view | raw | blame | history | |
| layouts/_default/single.html | ●●●●● patch | view | raw | blame | history |
README.md
@@ -626,7 +626,7 @@ ### Enable Table of Contents You can enable a table of contents on a per post basis by adding the following into the front matter of the posts your want the table of contents to appear on. You can enable a table of contents on a per post basis by adding the following into the front matter of the posts your want the table of contents to appear on. ```md +++ layouts/_default/single.html
@@ -40,6 +40,7 @@ <h3>Table of Contents</h3> {{ .TableOfContents }} {{- end -}} {{ .Content }}