feat: add opentags

This commit is contained in:
2025-02-18 16:23:51 +01:00
parent 84e77aedfe
commit 7e578c4149
7 changed files with 39 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
import { getCollection, render } from "astro:content";
import { getLocale } from "astro-i18n-aut";
import { filterCollection, parseSlug } from "@i18n/utils";
import MetaTags from "@components/MetaTags.astro";
const locale = getLocale(Astro.url);
@@ -31,4 +32,5 @@ if (!page) {
const { Content } = await render(page);
---
<MetaTags title={page.data.title} cover={page.data.cover?.src} />
<Content />