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> <h2>{header}</h2>
<ul> <ul>
{children.map((child) => { {children.map((child) => {
const url = '.' + Astro.site?.pathname + child.link; const url = Astro.site?.pathname + child.link;
return ( return (
<li class=""> <li class="">
<a <a