We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My site config:
export default defineConfig({ themeConfig: { nav: [ { link: '/about', text: 'About' }, { link: '/feed.rss', text: 'RSS' }, ] } })
The link which will be generated for /feed.rss is /feed.rss.html
/feed.rss
/feed.rss.html
Add exactMatch?: boolean to the interface NavItemWithLink.
exactMatch?: boolean
NavItemWithLink
export default defineConfig({ themeConfig: { nav: [ { link: '/about', text: 'About' }, { link: '/feed.rss', text: 'RSS', exactMatch: true }, ] } })
If exactMatch is true, do not append the suffix .html to the generated navigation link.
exactMatch
true
.html
N/A
The text was updated successfully, but these errors were encountered:
Set this on top of your .vitepress/config - process.env.VITE_EXTRA_EXTENSIONS = 'rss'
.vitepress/config
process.env.VITE_EXTRA_EXTENSIONS = 'rss'
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
My site config:
The link which will be generated for
/feed.rss
is/feed.rss.html
Describe the solution you'd like
Add
exactMatch?: boolean
to the interfaceNavItemWithLink
.If
exactMatch
istrue
, do not append the suffix.html
to the generated navigation link.Describe alternatives you've considered
N/A
Additional context
N/A
Validations
The text was updated successfully, but these errors were encountered: