Skip to content

Commit 2c57cc1

Browse files
sebastian-meiercalebfoss
authored andcommitted
Update index.astro
Removing obsolete lines according to conversation on pull request: processing#574
1 parent 98e39e1 commit 2c57cc1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/pages/education-resources/index.astro

Lines changed: 0 additions & 5 deletions
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)