Skip to content

Commit

Permalink
Add sentence for paginate() prev/next url when using base paths. (#8569)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Atharva <[email protected]>
  • Loading branch information
3 people committed Jun 20, 2024
1 parent 7517bce commit f0be261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/en/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -997,15 +997,15 @@ Get the URL of the current page (useful for canonical URLs).
**Type:** `string | undefined`
</p>

Get the URL of the previous page (will be `undefined` if on page 1).
Get the URL of the previous page (will be `undefined` if on page 1). If a value is set for [`base`](/en/reference/configuration-reference/#base), prepend the base path to the URL.

##### `page.url.next`

<p>
**Type:** `string | undefined`
</p>

Get the URL of the next page (will be `undefined` if no more pages).
Get the URL of the next page (will be `undefined` if no more pages). If a value is set for [`base`](/en/reference/configuration-reference/#base), prepend the base path to the URL.

## `import.meta`

Expand Down

0 comments on commit f0be261

Please sign in to comment.