FEATURE #1518: split templates for content and for homepage
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@extendVisitor('layout')
|
||||
|
||||
@section('content')
|
||||
{!! $page->content !!}
|
||||
|
||||
<h3>Subpages</h3>
|
||||
@forelse($page->subpages() as $subpage)
|
||||
<h3>{{$subpage->title}}</h3>
|
||||
|
||||
<p>{{$subpage->meta_description}}</p>
|
||||
@empty
|
||||
<em>None :(</em>
|
||||
@endforelse
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user