make the toc optional

This commit is contained in:
Xavier Valls Pla 2020-06-24 18:37:02 +02:00
parent 432a6da204
commit fe927df7a8
1 changed files with 2 additions and 0 deletions

View File

@ -18,7 +18,9 @@
{{ partial "math.html" . }}
{{ end }}
</article>
{{ if or .Params.toc .Site.Params.toc }}
{{ .TableOfContents }}
{{ end }}
</div>
{{ partial "tags.html" .}} {{ partial "post-pagination.html" .}}
</div>