mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix absolute path in schema anchors
This commit is contained in:
parent
751bb8ae24
commit
5db7e6b156
@ -31,7 +31,7 @@ const HeadingTag = levelMap[level] ?? "h6";
|
|||||||
level !== 0 && (
|
level !== 0 && (
|
||||||
<HeadingTag class="title" id={schema.slug}>
|
<HeadingTag class="title" id={schema.slug}>
|
||||||
{level !== 0 && (
|
{level !== 0 && (
|
||||||
<a aria-hidden="true" tabindex="-1" class="anchor" href={`${Astro.url}#${schema.slug}`}>
|
<a aria-hidden="true" tabindex="-1" class="anchor" href={`#${schema.slug}`}>
|
||||||
#
|
#
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user