title: Extending the header and footer in laravel
body: <p>I am using laravel 5.2 to create a new project. As i am new in the laravel. so I am creating new page and directory structure is as follows:</p>
  
  <pre><code>-views
     - layouts
      - default.blade.php
     - page
      - index.blade.php
     - templates -common
      - header.blade.php
      - footer.blade.php
  </code></pre>
  
  <p>Now in page/index.blade.php I need to extend the default layout. my codes are as below..
  LAYOUTS/DEFAULT.BLADE.PHP</p>
  
  <pre><code>@include('templates.common.header')
  @yield('section')
  @include('templates.common.footer')
  </code></pre>
  
  <p>and in index page i have defined the section but resulting the error as follows: </p>
  
  <pre><code>FatalErrorException in 1d36838b56f16e2e06a8567cdd5270af26ec6aa8.php line 1: syntax error, unexpected '__data' (T_STRING)
  </code></pre>
  
  <p>Please suggest me some solutions....
  Thank you</p>