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/list.html | 2 +- themes/simple/layouts/_default/single.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'themes/simple/layouts/_default') diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 232598d..f92d9c0 100644 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html @@ -11,7 +11,7 @@

For interesting notes and small experiments I usually partake - in, check the Notes page.

+ in, check the Notes page.

Blog posts

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