fix pseudo relative links

This commit is contained in:
Felix Roos 2023-02-27 22:59:50 +01:00
parent a7f6d6ecac
commit 2750a3c130

View File

@ -23,7 +23,7 @@ const sidebar = SIDEBAR[langCode];
<h2>{header}</h2>
<ul>
{children.map((child) => {
const url = '.' + Astro.site?.pathname + child.link;
const url = Astro.site?.pathname + child.link;
return (
<li class="">
<a