diff --git a/superpage/scripts/meili.js b/superpage/scripts/meili.js deleted file mode 100644 index e6bc694..0000000 --- a/superpage/scripts/meili.js +++ /dev/null @@ -1,14 +0,0 @@ -import { MeiliSearch } from "meilisearch"; -import { fileURLToPath } from "node:url"; - -export default function meili() { - return { - name: "meili", - hooks: { - "astro:build:done": async ({ logger, dir }) => { - const pathToRead = fileURLToPath(dir); - console.log(pathToRead); - }, - }, - }; -} diff --git a/superpage/src/pages/[slug].astro b/superpage/src/pages/[slug].astro index a350926..f0d986b 100644 --- a/superpage/src/pages/[slug].astro +++ b/superpage/src/pages/[slug].astro @@ -55,7 +55,10 @@ const { Content } = await render(course); ) } -
@@ -63,11 +66,12 @@ const { Content } = await render(course); [1]
-