I am working on a website with around 30 to 40 pages, Now the issue I am facing is that in the navigation menu, there are pages such as HOME, ABOUT US, TRIPS
So now there are many pages in the TRIPS drop down which I update regularly with new pages, now whenever I update a new page I have to hyperlink and change it in all the pages(Like HOME and ABOUT US). Which is very time consuming, is there a easier way to do change hyperlink on all pages?
Peter Scheler
JS enthusiast
Use a templating engine like pug.
With includes, you can separate the list of links into an additional file, so you only have to modify them in one place.
After that, use the CLI to render/generate your static HTML files.