title: Laravel blade template extending two different layouts
body: <p>I have two templates that are almost identical. It's the mail template, but it should be in two different places. So they are extending the two different templates, but this and the section names are the only differences. </p>
  
  <p>Here's the example:</p>
  
  <pre><code>@extends('layout.client')
      //sections etc
  @section('content')
      //content here
  @endsection
      //other sections etc
  </code></pre>
  
  <p>And here's the second template:</p>
  
  <pre><code>@extends('layout.company')
      //sections etc
  @section('contentinner')
      //content here
  @endsection
      //other sections etc
  </code></pre>
  
  <p>The other sections are mostly imported libraries to make the content work.</p>
  
  <p>How should I approach this to not repeat the code? </p>