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

@section('title')@if (config('app.env') !== 'production'){{ config('app.env') === 'staging' ? 'BETA' : 'DEV' }} |@endif @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
