@hasSection Usage Enquiry

Posted 3 years ago by paper9oll

Hi All,

I would like to create a layout using @hasSection but i would like to know if it support @elseif. I have include an example of what i mean.

@hasSection('navbar')
    navbar syntax
@elseif(@hasSection('navbar-sticky'))
    navbar-sticky syntax
@endif

Thanks You

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.