Skip to content

Commit 844f45a

Browse files
committed
Fix internal link
1 parent 45dd81f commit 844f45a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/content/collections.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export const getStartPagesByOrderParam = async () => {
77
);
88
};
99

10-
export const getConceptPagesAlphabetical = async () => {
11-
return await getCollection("concepts");
10+
export const getConceptPagesAlphabetical = () => {
11+
return getCollection("concepts");
1212
};

src/pages/concepts/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import QuickStart from "../../components/QuickStart.astro";
66
import Grid3 from "../../components/Grid3.astro";
77
import HoverableLink from "../../components/HoverableLink.astro";
88
import { conceptPagePath } from "../../lib/utils";
9-
import { getStartPagesByOrderParam } from "../../content/collections";
9+
import { getConceptPagesAlphabetical } from "../../content/collections";
1010
1111
const title = "Concepts";
1212
const heroTitle = "Nix concepts";
1313
const description = "The whys and the hows of Nix";
1414
15-
const conceptPages = await getStartPagesByOrderParam();
15+
const conceptPages = await getConceptPagesAlphabetical();
1616
---
1717

1818
<Layout {title} {description}>

0 commit comments

Comments
 (0)