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 522b0e4 commit d5a2a5aCopy full SHA for d5a2a5a
src/pages/education-resources/index.astro
@@ -8,11 +8,6 @@ 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) => removeLocalePrefix(page.slug).slice(1) === 'education-resources')!
13
-
14
-const { Content } = await page.render();
15
16
const currentLocale = getCurrentLocale(Astro.url.pathname);
17
const t = await getUiTranslator(currentLocale);
18
const pageJumpToLinks = categories.map((category) => ({
0 commit comments