src/_header.html
<nav>
<ul>
<li class="@@activeclassHome">Home</li>
<li class="@@activeclassAbout">About</li>
</ul>
</nav>
src/index.html
@@include('_header.html', {activeclassHome": "active", "activeclassAbout": ""})
src/about.html
@@include('_header.html', {activeclassHome": "", "activeclassAbout": "active"})
<meta id="myViewport" name="viewport" content="width = 1920">
<script>
window.onload = function () {
if (screen.width < 577) {
var mvp = document.getElementById('myViewport');
mvp.setAttribute('content','width=device-width, initial-scale=1.0');
}
}
</script>