site: template.include: Fix links when in subdirectories.

If we are in test/web the links work fine but if we go in
test/web/docs/, the links are relative to the current page and stop
working.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-11-08 05:17:32 +01:00 committed by Adrien 'neox' Bourmault
parent 87770e7482
commit a1fd263021
No known key found for this signature in database
GPG key ID: 2974E1D5F25DFCC8

View file

@ -89,16 +89,16 @@ $if(date)$
<p class="date">$date$</p>
$endif$
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="docs/install/">Install</a></li>
<li><a href="docs/">Docs</a></li>
<li><a href="news/">News</a></li>
<li><a href="/software/gnuboot/test/web/index.html">Home</a></li>
<li><a href="/software/gnuboot/test/web/faq.html">FAQ</a></li>
<li><a href="/software/gnuboot/test/web/download.html">Download</a></li>
<li><a href="/software/gnuboot/test/web/docs/install/">Install</a></li>
<li><a href="/software/gnuboot/test/web/docs/">Docs</a></li>
<li><a href="/software/gnuboot/test/web/news/">News</a></li>
<li><a href="https://todo.sr.ht/~libreboot/Libreboot">Bugs</a></li>
<li><a href="tasks/">TODO</a></li>
<li><a href="git.html">Send patch</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="/software/gnuboot/test/web/tasks/">TODO</a></li>
<li><a href="/software/gnuboot/test/web/git.html">Send patch</a></li>
<li><a href="/software/gnuboot/test/web/contact.html">Contact</a></li>
<li><strong><a href="https://ryf.fsf.org/categories/laptops">Buy preinstalled</a></strong></li>
</ul>
<hr/>