Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e3fdadc..22a559e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -25,8 +25,14 @@
</span>
</div>
+
+ {{ if or .Site.Params.showToc .Params.showToc }}
+ {{ partial "toc.html" . }}
+ {{ end }}
+
+
<div class="content">
- {{ .Content }}
+ {{ .Content }}
</div>
{{ with .Params.tags }}