From d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 26 Jan 2023 11:36:44 +0100 Subject: A bunch of theme changes and removal of Cactus comments --- themes/simple/layouts/_default/single.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (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 81a7d58..ffa776f 100755 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html @@ -4,14 +4,21 @@
-

{{ .Title }}

+

{{ .Title }}

{{ if in .Type "posts" }} {{ end }}
-
+
+ {{ if ge (len .TableOfContents) 100 }} +

Table of contents

+
{{ .TableOfContents }}
+ {{ end }} +
+ +
{{.Content}}
@@ -46,4 +53,4 @@ {{ end }} -{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3