We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d617fe commit 975c51bCopy full SHA for 975c51b
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