1
0

Fix: ToC prevented to display non-dossier pages

This commit is contained in:
Richard Dern 2024-04-25 00:58:35 +02:00
parent 973cfe9566
commit 7a698bef1d

View File

@ -26,7 +26,7 @@ class="{!! $mainLink['classes'] !!}"
@if (!empty($body) || (isset($showToc) && $showToc))
<section id="article-body">
@if($showToc)
@if(isset($showToc) && $showToc)
<details class="drop down">
<summary>Sommaire</summary>
<nav>
@ -37,7 +37,7 @@ class="{!! $mainLink['classes'] !!}"
{!! $body !!}
@if($showToc)
@if(isset($showToc) && $showToc)
<details class="drop up">
<summary>Sommaire</summary>
<nav>