Template Inheritance: Defining A Layout

<!-- Stored in resources/views/layouts/app.blade.php -->

<html>
    <head>
        <title>App Name - @yield('title')</title>
    </head>
    <body>
        @section('sidebar')
            This is the master sidebar.
        @show

        <div class="container">
            @yield('content')
        </div>
    </body>
</html>

Template Inheritance: Defining A Layout — Structure map

Clickable & Draggable!

Template Inheritance: Defining A Layout — Related pages: