From 729c72beafb3d5c6856a18747ed8dfca76aa14b3 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Fri, 15 Oct 2021 01:41:01 +0200 Subject: [PATCH] Fix ToC condition --- themes/chosto/layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index 9ed7880..0b5ac26 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -40,7 +40,7 @@

{{ end }} - {{ if (or (not .Params.notoc) (gt .WordCount 600)) }} + {{ if (and (not .Params.notoc) (gt .WordCount 600)) }}
Sommaire