I have a laravel component
<section class="section {{ $classes }}">
<div class="inner">
<h1>{{ $heading }}</h1>
<h2>{{ $subheading }}</h2>
<p>{{ $copy }}</p>
</div>
{{ $slot }}
</section>
I render in blade template
@component('components.section', ['classes' => 'lightgrey'])
@slot('heading')
The best thing ever....
@endslot
@slot('subheading')
@endslot
@slot('copy')
Lots of interesting words go here
@endslot
@endcomponent
Sometime I only have an H1. How can I remove the markup if I do not have a sub heading?