From 0ee84cf49b09628e0321edfd1c552e12179c3460 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 29 Jun 2023 22:07:53 +0200 Subject: Minor tweaks to navigation, pages and search --- themes/simple/layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'themes/simple/layouts/_default/single.html') 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 @@ {{ end }} + {{ if not .Params.hidetoc }}
{{ if ge (len .TableOfContents) 100 }}

Table of contents

{{ .TableOfContents }}
{{ end }}
+ {{ end }}
{{.Content}} -- cgit v1.2.3