BookStack/resources/views/pages/page-display.blade.php

10 lines
308 B
PHP
Raw Normal View History

2015-08-09 13:06:52 +02:00
<h1>{{$page->name}}</h1>
@if(count($page->children) > 0)
<h4 class="text-muted">Sub-pages</h4>
<div class="page-list">
@foreach($page->children as $childPage)
<a href="{{ $childPage->getUrl() }}">{{ $childPage->name }}</a>
@endforeach
</div>
@endif
{!! $page->html !!}