mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-29 21:52:35 +00:00
10 lines
441 B
PHP
10 lines
441 B
PHP
![]() |
@if(count($children) > 0)
|
||
|
<ul class="contents">
|
||
|
@foreach($children as $bookChild)
|
||
|
<li><a href="#{{$bookChild->getType()}}-{{$bookChild->id}}">{{ $bookChild->name }}</a></li>
|
||
|
@if($bookChild->isA('chapter') && count($bookChild->visible_pages) > 0)
|
||
|
@include('exports.parts.chapter-contents-menu', ['pages' => $bookChild->visible_pages])
|
||
|
@endif
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
@endif
|