aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/post/toc.html
blob: 7921065ae2aae418ad35cdb57fa5e666c5e0baf1 (plain)
1
2
3
4
5
6
7
8
{{ if and .Site.Params.toc (ne .Params.toc false) }}
<div class="post-toc" id="post-toc">
  <h2 class="post-toc-title">{{ .Site.Data.even.default.posts.toc }}</h2>
  <div class="post-toc-content">
      {{.TableOfContents}}
  </div>
</div>
{{- end }}