title: Laravel/Blade - Extend same template multiple times on same page
body: <p>So there must be a simple way around this... On my site there are multiple modals, depending on the page. I've created a modal template that these can all extend. However, the last modal I include on the page ends up 'taking over' the rest of them, and so all my modals end up with the same sections from that last include. How can I make it so that each extension is unique to the file from which it extends?</p>
  
  <p>Example of what's happening:</p>
  
  <pre><code>//template.blade.php
  &lt;htmls and stuff&gt;
      @yield('section_1')
      @yield('section_2')
  &lt;/htmls and stuff&gt;
  
  //Modal 1
  @extends('template')
  @section('section_1')
      Some words
  @stop
  @section('section_2')
      More words
  @stop
  
  //Modal 2
  @extends('template')
  @section('section_1')
      Rabbit
  @stop
  @section('section_2')
      Stew
  @stop
  </code></pre>
  
  <p>Instead of two unique modals being loaded, I end up with two modals full of Rabbit Stew.</p>