title: Sections inside included blade templates
body: <p>I want to be able to add as many widgets as i want to a page.
  To make it easier to visualize, here is what i want to achieve:</p>
  
  <ul>
  <li>Master Page<br>
  <ul>
  <li>Regular Page</li>
  </ul></li>
  </ul>
  
  <p>In regular page, i want to call blade template <strong>panel</strong> as many times as i want. Of course, i would like to change sections inside each panel too.</p>
  
  <p><strong>Master Page</strong></p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-lg-12"&gt;
          &lt;h1 class="page-header"&gt;@yield('title')&lt;/h1&gt;
      &lt;/div&gt;
      &lt;!-- /.col-lg-12 --&gt;
  &lt;/div&gt;
  &lt;!-- /.row --&gt;
  &lt;div class="row"&gt;
      &lt;div class="col-lg-8"&gt;
          @yield('panelsLeft')
      &lt;/div&gt;
      &lt;!-- /.col-lg-8 --&gt;
      &lt;div class="col-lg-4"&gt;
          @yield('panelsRight')
      &lt;/div&gt;
      &lt;!-- /.col-lg-4 --&gt;
  &lt;/div&gt;
  &lt;!-- /.row --&gt;
  </code></pre>
  
  <p><strong>Panel Partial</strong></p>
  
  <pre><code>&lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading"&gt;
          &lt;i class="fa fa-{{ $panelIcon }} fa-fw"&gt;&lt;/i&gt; @yield('panelTitle')
  
          &lt;div class="pull-right"&gt;
              &lt;div class="btn-group"&gt;
                  @yield('panelActions')
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- /.panel-heading --&gt;
      &lt;div class="panel-body"&gt;
          @yield('panelBody')
      &lt;/div&gt;
      &lt;!-- /.panel-body --&gt;
  &lt;/div&gt;
  &lt;!-- /.panel --&gt;
  </code></pre>
  
  <p><strong>Regular Page</strong><br>
  <em>I want my regular page to extend master page, include as many panels as needed, and set sections of each of them. How can i achieve this?</em>  </p>
  
  <p>I couldn't find an answer to this problem. Here is what i tried but it doesn't work:</p>
  
  <pre><code>@extends('layouts.content')
  @section('title')
      Dashboard
  @stop
  @section('panelsLeft')
  
      @include('layouts.partial.panel', ['panelIcon'=&gt;'flag'])
        @section('panelTitle')
          Current Projects
        @stop
        @section('panelActions')
          &lt;button type="button" class="btn btn-default btn-lg"&gt;
            &lt;span class="glyphicon glyphicon-star"&gt;&lt;/span&gt; Create New Project
          &lt;/button&gt;
        @stop
        @section('panelBody')
          &lt;ul class="project-list"&gt;
            {{ $projects }}
          &lt;/ul&gt;
        @stop
  
      @include('layouts.partial.panel', ['panelIcon'=&gt;'user'])
        @section('panelTitle')
          Current Users
        @stop
        @section('panelActions')
          &lt;button type="button" class="btn btn-default btn-lg"&gt;
            &lt;span class="glyphicon glyphicon-star"&gt;&lt;/span&gt; Create New User
          &lt;/button&gt;
        @stop
        @section('panelBody')
          &lt;ul class="user-list"&gt;
            {{ $users }}
          &lt;/ul&gt;
        @stop
  @stop
  </code></pre>