diff --git a/README.md b/README.md index 14e1707..8a66913 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,10 @@ paginate = 5 # Show reading time in minutes for posts showReadingTime = false + # Show table of contents at the top of your posts (defaults to false) + # Alternatively, add this param to post front matter for specific posts + toc = true + [languages] [languages.en] title = "Hello Friend" diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 20960f7..fd0ac97 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -40,6 +40,10 @@ {{ end }}