Add basic toc support
This commit is contained in:
1 parent
0abf3ea012
commit
feb4c38717
6 files changed
+60
No files matched your search
@@ -32,6 +32,12 @@
|
||||
{{- end }}
|
||||
</footer>
|
||||
</article>
|
||||
{{- if .Params.toc }}
|
||||
<aside id="toc">
|
||||
<div class="toc-title">Table of Contents</div>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
{{- end }}
|
||||
<div class="post-nav thin">
|
||||
{{- with .NextInSection }}
|
||||
<a class="next-post" href="{{ .Permalink }}">
|
||||
|
||||
Reference in new issue
Block a user