From 185724ddbb0c752759b5663ec4af7f2590b1efda Mon Sep 17 00:00:00 2001 From: dasvh <131653108+dasvh@users.noreply.github.com> Date: Mon, 1 May 2023 06:37:15 +0000 Subject: [PATCH] added .TableOfContents variable to the single.html --- layouts/_default/single.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4dc326a..dee40d1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,6 +2,11 @@

{{ .Title | markdownify }}

+ {{ if .Params.toc }} + + {{ end }}
{{ .Content }}