Skip to content

Commit 975c51b

Browse files
sebastian-meiercalebfoss
authored andcommittedJan 27, 2025
Update index.astro
Removing obsolete lines according to conversation on pull request: processing#574
1 parent 2d617fe commit 975c51b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎src/pages/education-resources/index.astro

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ import { getCurrentLocale, getUiTranslator } from "@i18n/utils";
88
import { categories } from "@/src/content/tutorials/config";
99
import { removeLocalePrefix } from "@i18n/utils";
1010
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-
1611
const currentLocale = getCurrentLocale(Astro.url.pathname);
1712
const t = await getUiTranslator(currentLocale);
1813
const pageJumpToLinks = categories.map((category) => ({

0 commit comments

Comments
 (0)