Is there a way to set the html <title> tag for dynamic routes? #2285
-
Dynamic routes in Vitepress are amazing and I'm using them with csv and yaml data and they're working great. My only problem is being unable to set the html <title>. I can use $params in the md file content or script, but I can't use them in frontmatter. Is it possible to change page data from within the md? Can I use some code in the transformHead of the config.js? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
brianmercer
Apr 25, 2023
Replies: 1 comment
-
OK, this seems to work after adding a title param.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brianmercer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, this seems to work after adding a title param.