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

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r--layouts/post/single.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 9003db6..38512f6 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -35,10 +35,8 @@
</ul>
</div>
{{ end }}
-
- {{ if ne .Params.toc false }}
- {{ partial "toc" . }}
- {{ end }}
+
+ {{ partial "toc.html" . }}
{{ .Content }}
</main>