From ffe1ad2e50bb32a27026e533a2810edcbe809cf0 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 26 Dec 2022 16:40:26 +0100
Subject: [PATCH] rename partial

---
 layouts/partials/{IsTocNeeded => IsTocPresent} | 0
 layouts/partials/toc/container.html            | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename layouts/partials/{IsTocNeeded => IsTocPresent} (100%)

diff --git a/layouts/partials/IsTocNeeded b/layouts/partials/IsTocPresent
similarity index 100%
rename from layouts/partials/IsTocNeeded
rename to layouts/partials/IsTocPresent
diff --git a/layouts/partials/toc/container.html b/layouts/partials/toc/container.html
index b0322680..542aaae7 100644
--- a/layouts/partials/toc/container.html
+++ b/layouts/partials/toc/container.html
@@ -1,6 +1,6 @@
-{{- $isTocNeeded := partial "IsTocNeeded" . -}}
+{{- $isTocPresent := partial "IsTocPresent" . -}}
 
-{{- if $isTocNeeded -}}
+{{- if $isTocPresent -}}
   {{- partial "toc/cta" -}}
 
   <div class="toc-container" aria-hidden="false" aria-labelledby="toc-title">
-- 
GitLab