feat: some shit

This commit is contained in:
2024-04-03 18:07:54 +02:00
parent a32e5a4b3b
commit 1b86c44244
19 changed files with 62 additions and 63 deletions

View File

@@ -10,7 +10,7 @@ type CustomProps = {
type Props = CollectionEntry<"blog">["data"] & CustomProps;
const { title, date, _layout, backlink = "/blog" } = Astro.props;
const path = useTranslatedPath(Astro);
const path = useTranslatedPath(Astro.url);
---
<Layout title={title}>