We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b17fe4 commit 119a227Copy full SHA for 119a227
1 file changed
docs/.vitepress/config.mts
@@ -69,10 +69,11 @@ export default defineVersionedConfig(
69
_render(src, env, md) {
70
const html = md.render(src, env)
71
72
- const startsWithV1 = env.relativePath.startsWith('versions/v1')
73
- const startsWithV2 = env.relativePath.startsWith('versions/v2')
+ const withV1 = env.relativePath.startsWith('versions/v1')
+ const withV2 = env.relativePath.startsWith('versions/v2')
74
+ const withBlog = env.relativePath.startsWith('blog')
75
- if (startsWithV1 || startsWithV2) {
76
+ if (withV1 || withV2 || withBlog) {
77
return ''
78
}
79
0 commit comments