How to remove Header block for a specific page
Is there any way to remove Header block for a specific page in EDS, currently it's being loaded on page load across all EDS pages
Is there any way to remove Header block for a specific page in EDS, currently it's being loaded on page load across all EDS pages
Sure, you can modify scripts.js to fit your needs, e.g. add logic that skips loading the header on line 106: https://github.com/adobe/aem-boilerplate/blob/main/scripts/scripts.js#L106
A common pattern is to use metadata properties(global or page level) to toggle certain features. getMetadata() makes it quick and easy to extract metadata values.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.