You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I use page hrefs in dynamic <meta> tags, for example in og:url. It'd be great if VitePress provided a way to reliably reference the page's pathname, to ensure that that part of the dynamic meta content is correct.
Is your feature request related to a problem? Please describe.
I use page hrefs in dynamic
<meta>
tags, for example inog:url
. It'd be great if VitePress provided a way to reliably reference the page's pathname, to ensure that that part of the dynamic meta content is correct.Describe the solution you'd like
Export this function:
vitepress/src/shared/shared.ts
Line 65 in 452d6c7
Describe alternatives you've considered
Currently, I copy
normalize
,HASH_OR_QUERY_RE
, andINDEX_OR_EXT_RE
fromsrc/shared/shared.ts
to my VitePress config. That's brittle and inelegant.Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: