-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
$title compat with vuepress #158
Comments
Ah, nice catch. I think we should align with VuePress about this one. Since But I understand the pain. How about making infertTitle(page.title) || siteDataByRoute.title Since it's essential for pages to have title so 😳 |
I agree with both. I'll send a PR 👍 |
Wonderful! 🙌 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@kiaking when working on #152, I assumed that it was the title that appeared in the sidebar links:
But reviewing the code in Vuepress, it looks like it is actually the title of the document:
I think it is more useful as we have it (and maybe add a $documentTitle), but maybe we need to align it to vuepress and have:
It will be an interesting walk to keep as much of compat with vuepress but take the opportunity to break what could be improved. I am fine with both options here.
Thoughts?
The text was updated successfully, but these errors were encountered: