diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2b9ecc7..a2775fc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,6 +12,12 @@ {{- .Date.Format "January 2, 2006" -}} </div> </header> + {{ if .Params.ShowToc }} + <blockquote> + <div class="toc">Table of Contents</div> + {{ .TableOfContents }} + </blockquote> + {{ end }} <div class="post-content">{{ .Content }}</div> {{- if .Params.tags }} <footer class="post-footer"> |
