1
Fork 0

Hide ToC if there arent any

This commit is contained in:
Jake Howard 2017-11-12 14:42:21 +00:00
parent 189509ce00
commit fce036fea8
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -16,8 +16,10 @@
</p>
<hr />
<div class="content mt-3">
<div class="float-lg-right ml-3 bg-light p-3">
{{ .TableOfContents }}
</div>
{{ if .TableOfContents }}
<div class="float-lg-right ml-3 bg-light p-3">
{{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }}
</div>