Create custom header for other pages

Hi, are there any docs on creating a custom header in Sage 9.3. I am using the default one for the home page but want to create a different one for all other pages and use a cond statement to render, my default is just the header.blade and I have created another one called header-page.blade with a slightly different layout for all pages other than the home page. However, it is still rendering the same default header template and not the new one despite seemingly having the correct code in app.blade.

{{-- @if(is_front_page())
@endif --}}

Are there any other settings I need to make to get it working ? Thanks

I think you’ve commented out your entire conditional block, which would certainly prevent it from being processed.


Yip, that was it, oops! Many Thanks