I want to add a common footer for all my html pages, but the footer has links to different pages in different folders, how can I do this? The problem is, I can write the footer with respect to one page, where the links point to, but what about other pages? I want a reusable footer with access to all the correct folder locations in each page I call the footer in.
I tried using a js page for the footer and bringing all the html pages under one main folder, but that isnt the right way to do it. Any alternate solutions?