Excluding a specific page from layout.tsx
Answered
Wuchang bream posted this in #help-forum
Wuchang breamOP
I'm trying to exclude my /about page from displaying the header (the header is located within the layout component). What's the best way to achieve it within Nextjs natively?
Answered by riský
i dont know what he was meaning, but you can use route groups and add every page you want with the layout in that sub folder and leave the things without on the main folder
7 Replies
West African Lion
where is the chinese pannel
Wuchang breamOP
@West African Lion what is that supposed to mean?
i dont know what he was meaning, but you can use route groups and add every page you want with the layout in that sub folder and leave the things without on the main folder
Answer
@West African Lion where is the chinese pannel
there are no chinese channels here. this server is english-only
please continue further queries regarding this matter in #discord-feedback
@riský i dont know what he was meaning, but you can use route groups and add every page you want with the layout in that sub folder and leave the things without on the main folder
Wuchang breamOP
just checked it out, looks like it's what I was looking for, thank you
Yay happy to help!