summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/pagination.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/pages/guides/pagination.md')
-rw-r--r--docs/src/pages/guides/pagination.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pages/guides/pagination.md b/docs/src/pages/guides/pagination.md
index 3ddeb6c82..63e6df35b 100644
--- a/docs/src/pages/guides/pagination.md
+++ b/docs/src/pages/guides/pagination.md
@@ -86,7 +86,7 @@ For example, if you want to group your paginated markdown posts by some tag, you
Nested pagination works by returning an array of `paginate()` results from `getStaticPaths()`, one for each grouping. In the following example, we will implement nested pagination to build the URLs listed above:
-```js
+```astro
---
// Example: /src/pages/[tag]/[page].astro
export function getStaticPaths({paginate}) {