Laravel blade inline section

Solution:

I think @stack and @push is what you need instead of @section Let’s say you’re going to use that on other file

Page 1:

@stack('small')

Page 2 :

@push('small')
    <div>small piece of html</div>
@endpush
@push('small')
     <div>some html here</div>
@endpush