title: laravel template inside template
body: <p>I'm trying to include a template (widget.blade.php) inside a template (master.blade.php) as below. both templates use sections named 'content' but the widget output uses the content from the master instead of the widget content. </p>
  
  <p>master.blade.php</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;title&gt;
              @section('title')
              @show
          &lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div&gt;
              @section('content')
              @show
          &lt;/div&gt;
  
          &lt;div&gt;
              @section('sidebar')
              @show
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>widget.blade.php</p>
  
  <pre><code>&lt;div class="widget"&gt;
      @section('content')
      @show
  &lt;/div&gt;
  </code></pre>
  
  <p>index.blade.php</p>
  
  <pre><code>@extends('master')
  
  @section('content')
      Main Content
  @stop
  
  
  
  @section('sidebar')
      @include('mywidget')
  @stop
  </code></pre>
  
  <p>mywidget.blade.php</p>
  
  <pre><code>@extends('widget')
  @section('content')
  My Widget Content
  @stop
  </code></pre>
  
  <p>The final result</p>
  
  <pre><code>Main Content
  Main Content
  </code></pre>
  
  <p>Any ideas how to fix this collision? </p>