From 2e7c2b271b1e8839ae2b12d5dd5a382d7738e1c3 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 26 Dec 2022 19:07:41 +0100
Subject: [PATCH] fix istocpresent

---
 layouts/partials/IsTocPresent | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/partials/IsTocPresent b/layouts/partials/IsTocPresent
index dd0158e2..d99cf6cd 100644
--- a/layouts/partials/IsTocPresent
+++ b/layouts/partials/IsTocPresent
@@ -1 +1 @@
-{{ return .context.Params.design.toc }}
\ No newline at end of file
+{{ return .context.Params.design.toc.present }}
\ No newline at end of file
-- 
GitLab