We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a2a5a commit 0113043Copy full SHA for 0113043
src/pages/education-resources/index.astro
@@ -8,6 +8,9 @@ import { getCurrentLocale, getUiTranslator } from "@i18n/utils";
8
import { categories } from "@/src/content/tutorials/config";
9
import { removeLocalePrefix } from "@i18n/utils";
10
11
+const pages = await getCollectionInDefaultLocale("pages");
12
+const page = pages.find((page) => page.slug === 'education-resources')!
13
+
14
const currentLocale = getCurrentLocale(Astro.url.pathname);
15
const t = await getUiTranslator(currentLocale);
16
const pageJumpToLinks = categories.map((category) => ({
0 commit comments