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 ++ themes/simple/layouts/partials/navigation.html | 6 +++--- themes/simple/layouts/partials/search.html | 11 +++++++---- 4 files changed, 13 insertions(+), 8 deletions(-) (limited to 'themes/simple') 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}} diff --git a/themes/simple/layouts/partials/navigation.html b/themes/simple/layouts/partials/navigation.html index f6e5a66..44c6059 100644 --- a/themes/simple/layouts/partials/navigation.html +++ b/themes/simple/layouts/partials/navigation.html @@ -9,11 +9,11 @@