Header/footer custom

Hi Grav Community,
I start Grav few days ago and so far I love it. So easy
I setup a site with a HACYLON skeleton.
I added few pages for the terms and legals etc.
In this theme, the header and footer of the pages are setup in the file site.yaml
I would like to have a custom header and footer for my extra pages. How do I manage that ?
thank you for your help

You need to create specific templates with the header and footer you want. Or alter the existing template to select the header and footer based on some attribute of the page.