Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Arbeit authored and Arbeit committed Feb 25, 2018
1 parent f83fd66 commit 19de279
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/resources/views/leaf.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
@if(array_key_exists('template',$leaf))
{{ $leaf['template'] }}
@endif
@if(array_key_exists('template',$base))
{{ $base['template'] }}
@if (isset($base))
@if(array_key_exists('template',$base))
{{ $base['template'] }}
@endif
@endif
@endsection

@section('body')

@component('modules.layouts.header')
{{--@component('modules.layouts.header')
@slot('title')
<a href="/{{ $base['slug'] }}/">{{ title_case($base['title']) }}</a>
@endslot
Expand All @@ -43,7 +45,7 @@
@endforeach
@endif
@endcomponent
@endcomponent--}}

@section('main')

Expand Down

0 comments on commit 19de279

Please sign in to comment.