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
Hi, thanks for the great project!
I'm stuck with a customization as I'm quite new to the internals of vuepress so hopefully I can get a bit of help.
Is there a way to distinguish if current page is a post or a list layout from inside of a GlobalLayout.vue?
post
list layout
I was trying to examine $pagination == null but it crashes internally saying TypeError: Cannot read property 'pages' of undefined
$pagination == null
TypeError: Cannot read property 'pages' of undefined
Any advice on this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, thanks for the great project!
I'm stuck with a customization as I'm quite new to the internals of vuepress so hopefully I can get a bit of help.
Is there a way to distinguish if current page is a
post
or alist layout
from inside of a GlobalLayout.vue?I was trying to examine
$pagination == null
but it crashes internally sayingTypeError: Cannot read property 'pages' of undefined
Any advice on this?
The text was updated successfully, but these errors were encountered: