aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/simple/layouts/_default/single.html')
-rw-r--r--themes/simple/layouts/_default/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html
index cadfd7b..095ff25 100644
--- a/themes/simple/layouts/_default/single.html
+++ b/themes/simple/layouts/_default/single.html
@@ -14,12 +14,14 @@
14 {{ end }} 14 {{ end }}
15 </header> 15 </header>
16 16
17 {{ if not .Params.hidetoc }}
17 <div> 18 <div>
18 {{ if ge (len .TableOfContents) 100 }} 19 {{ if ge (len .TableOfContents) 100 }}
19 <p class="font-semibold">Table of contents</p> 20 <p class="font-semibold">Table of contents</p>
20 <div>{{ .TableOfContents }}</div> 21 <div>{{ .TableOfContents }}</div>
21 {{ end }} 22 {{ end }}
22 </div> 23 </div>
24 {{ end }}
23 25
24 <div class="leading-relaxed content"> 26 <div class="leading-relaxed content">
25 {{.Content}} 27 {{.Content}}