sanyuan0704 / island.js

📝 Vite & MDX powered static site generator. Base on islands architecture

Home Page:https://islandjs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The "Next page" and "Previous page" don't take into consideration the "base" path property

toteto opened this issue · comments

Describe the bug

When there is "base" property in the config, the footer buttons don't consider this.

Reproduction

If the base is at docs, and the page at example.com/docs/page-2 with neighboring pages os page-1 and page-3, the previous page button is pointing at example.com/page-1 and next page button at example.com/page-3.

Expected behavior

Previous: example.com/docs/page-1
Next: example.com/docs/page-3

System Info

Non relevant

Additional context

No response

Validations

  • Read the docs
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.