在laravel 5.3中为模板创建布局

I want to create template for my project.In my projects I'm using header and css and js and footer for all page.(i.e page1.blade.php,page2.blade.php,etc).while loading each page it takes more time to load.so I need to create a common layout and load the content(i.e page1.blade.php,page2.blade.php,etc) in content section.

How to create master layout and load the page1.blade.php and page2.blade.php and so on.I want to create link this

<html>
<head>
    <title>Title</title>
</head>
<body>
    @section('sidebar')
        This is the master sidebar.
    @show

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

This is what your page1.blade.php could look like:

@extends('layouts.includes.default')

@section('content')

// Your content

@stop

You can read about Blade templates in the Laravel documentation: https://laravel.com/docs/5.2/blade

IN your resouce foloder create sub folder by the name layout and there u create a file master.blade.php Ex: resource->layout->master.blade.php

Now in your page.blade.php just extend it using @extends('layout.master')

@extends('layouts.app')

@section('content')

<h2>Your Content </h2>

@endsection