Repository navigation
Clean URLs
#280
|
Is it possible to omit the extension .html into the search index? |
Answered by
bglw
May 1, 2023
Replies: 1 comment 1 reply
|
Hey @jcehenne 👋 The best way to control URLs it to tag a custom URL on your pages — see the docs for this here: https://pagefind.app/docs/ui/#overriding-the-url-of-a-result Alternatively you could use the processResult hook of the UI to tidy results on the fly |
1 reply
Answer selected by
bglw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @jcehenne 👋
The best way to control URLs it to tag a custom URL on your pages — see the docs for this here: https://pagefind.app/docs/ui/#overriding-the-url-of-a-result
Alternatively you could use the processResult hook of the UI to tidy results on the fly