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 68732b3 commit dcb11f2Copy full SHA for dcb11f2
src/pages/articles/[...page].astro
@@ -1,9 +1,9 @@
1
---
2
+import { getCollection } from "astro:content";
3
import type { GetStaticPaths } from "astro";
4
import ArticleList from "../../components/ArticleList.astro";
5
import GlobalLayout from "../../layouts/GlobalLayout.astro";
6
import { Focus } from "../../schema";
-import { getCollection } from "astro:content";
7
8
export const getStaticPaths = (async ({ paginate }) => {
9
const articles = (await getCollection("articles")).sort(
0 commit comments