I want to include the same header html in many pages in subdirectories. I'd like not to copy that header file. In the example code below the header file is in both the current and parent directories.
A relative path to the file seems not to work, although a relative path to the javascript source is just fine.
(If I have asked an x-y question and there's a better strategy from the start, please enlighten me.)
<!-- this works:-->
<div w3-include-html="header.html"></div>
<!-- this fails-->
<!-- <div w3-include-html="../header.html"></div>-->
<script src="../w3-include-HTML.js"></script>