@extends('Core::layouts.page')

@section('title')@yield('meta_title') - {{ config('app.name') }}@endsection

@section('content_header')
    @if (isset($adminHeader))
        <h1>{{ $adminHeader }}</h1>
    @else
        @yield('heading')
    @endif

    @unless (Route::currentRouteName() == 'admin.dashboard.index')
    <ol class="breadcrumb">
        <li><a href="{{ route('admin.dashboard.index') }}">Home</a></li>
        @yield('breadcrumb')
    </ol>
    @endunless
@stop

@section('content')
    @include('ignite-flash::message')
    @yield('page_content')
@stop
