FEATURE #1518: split templates for content and for homepage
This commit is contained in:
@@ -78,6 +78,14 @@
|
||||
</div>
|
||||
<div id="content">
|
||||
<div class="row column text-center m-t-25">
|
||||
|
||||
<hr>
|
||||
|
||||
@yield('content')
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<h2 id="assortment">Náš sortiment</h2>
|
||||
<hr>
|
||||
<p class="text-center">
|
||||
|
||||
@@ -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