Fix: ToC prevented to display non-dossier pages
This commit is contained in:
parent
973cfe9566
commit
7a698bef1d
|
@ -26,7 +26,7 @@ class="{!! $mainLink['classes'] !!}"
|
||||||
|
|
||||||
@if (!empty($body) || (isset($showToc) && $showToc))
|
@if (!empty($body) || (isset($showToc) && $showToc))
|
||||||
<section id="article-body">
|
<section id="article-body">
|
||||||
@if($showToc)
|
@if(isset($showToc) && $showToc)
|
||||||
<details class="drop down">
|
<details class="drop down">
|
||||||
<summary>Sommaire</summary>
|
<summary>Sommaire</summary>
|
||||||
<nav>
|
<nav>
|
||||||
|
@ -37,7 +37,7 @@ class="{!! $mainLink['classes'] !!}"
|
||||||
|
|
||||||
{!! $body !!}
|
{!! $body !!}
|
||||||
|
|
||||||
@if($showToc)
|
@if(isset($showToc) && $showToc)
|
||||||
<details class="drop up">
|
<details class="drop up">
|
||||||
<summary>Sommaire</summary>
|
<summary>Sommaire</summary>
|
||||||
<nav>
|
<nav>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user