I dont know how to make the "header","footer" and "sidebar" of a webpage separate, so if i want to edit the sidebar and add another link to it, if i have 100 pages i dont have to manually change it. To make it in a different page and somehow embend the sidebar or footer or header in the webpage.

Please tell me if you understood what i meant.