fix pseudo relative links
This commit is contained in:
parent
a7f6d6ecac
commit
2750a3c130
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue