I'm just coding my first Website and it has lots of Subsites. Every Website needs the same code-block at some point. This code block just contains HTML code. Is it possible to make a data with this code-block and import it on every website? My goal is: If I have to update the code-block I just want to do it once.
The code-block is a sidebar and looks like this:
<div id="sidebar">
<div class="inner">
<nav id="menu">
<ul>
<li><a href="../index.html">Homepage</a></li>
<li>
<span class="opener">SomeName</span>
<ul>
<li><a href="../Somestuff/SomeWebsite.html">Main Page</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>