How to add a navigation menu
In order to add a navigation menu to your website, all you have to do
is edit the ./share/l.upphtml
file and add your navigation code there.
Open up ./share/l.upphtml
in your favorite text editor and add the
following lines right below the body
tag:
<header>
<nav>
<ul>
<li><a href=/>Home</a></li>
<li><a href=docs.html>Docs</a></li>
<li><a href=src.html>Sources</a></li>
<li><a href=contact.html>Contact</a></li>
</ul>
</nav>
</header>
Edit to match your website.
Then, regenerate your site using the mkws
command:
./bin/mkws https://example.com