@if ( request()->route()->getName() === 'newTemplate' || request()->route()->getName() === 'editMailable' || request()->route()->getName() === 'viewTemplate') @endif @include('maileclipse::layout.header')
@if ( request()->route()->getName() !== 'newTemplate' && request()->route()->getName() !== 'editMailable' && request()->route()->getName() !== 'viewTemplate' ) @include('maileclipse::layout.sidebar') @endif @yield('content')
@include('maileclipse::layout.footer')