I currently have more than 50 HTML pages where I include style, JavaScript, and Bootstrap references on each one.
Changing the style path on all of these pages can be a time-consuming task.
Is there a way to define my styles, JavaScript, and Bootstrap in a global manner and share them across all pages? This would make it much easier to update paths if needed.
For instance, I have these 5 references in every HTML page:
<link rel="stylesheet" href="../styles/jquery.contextMenu.css">
<link rel="stylesheet" href="../styles/style.css">
<script src="../scripts/constants.js"></script>
<script src="../scripts/resources.js"></script>
<script src="../scripts/utilities.js"></script>
If I want to change the location of any style, I currently have to make changes on all HTML pages. Is there a way we can declare reference paths in a centralized location?
Thank you!