FEATURE #1518: split templates for content and for homepage

This commit is contained in:
Michal Kváček
2016-03-31 21:15:24 +02:00
parent e789b02a93
commit 7d674357fe
2 changed files with 23 additions and 0 deletions
@@ -78,6 +78,14 @@
</div> </div>
<div id="content"> <div id="content">
<div class="row column text-center m-t-25"> <div class="row column text-center m-t-25">
<hr>
@yield('content')
<hr>
<h2 id="assortment">Náš sortiment</h2> <h2 id="assortment">Náš sortiment</h2>
<hr> <hr>
<p class="text-center"> <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