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> </p>
<hr /> <hr />
<div class="content mt-3"> <div class="content mt-3">
<div class="float-lg-right ml-3 bg-light p-3"> {{ if .TableOfContents }}
{{ .TableOfContents }} <div class="float-lg-right ml-3 bg-light p-3">
</div> {{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }} {{ .Content }}
</div> </div>