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
blogDir
[]
While removing the blog from a site, I noticed that there was some inconsistent behaviour with the declaration of blogDir:
blogDir: ""
blogDir: null
// blogDir: ""
blogDir: [""]
blogDir: [null]
blogDir: []
Allowing an empty array but not allowing an empty string or a null string seems like it's not intended.
The use case for me here is to declare indexBlog: false, but thought I'd raise this an a minor issue.
indexBlog: false
The text was updated successfully, but these errors were encountered:
Took me a while to find the cause of the message
Warn: `blogDir` doesn't exist: "..."
Google search doesn't index this page somehow.
The solution is given above: set indexBlog: false. This option comes from the theme options
I think it's better to show it comes from this package, so developers can find relevant config.
Sorry, something went wrong.
Yes, you should set indexBlog: false to disable indexing for blog, only set blogDir when you have blog placed in other than the default one "blog"
"blog"
No branches or pull requests
While removing the blog from a site, I noticed that there was some inconsistent behaviour with the declaration of
blogDir
:blogDir: ""
blogDir: null
// blogDir: ""
blogDir
doesn't exist: "{snip}/blog".blogDir: [""]
blogDir: [null]
blogDir: []
Allowing an empty array but not allowing an empty string or a null string seems like it's not intended.
The use case for me here is to declare
indexBlog: false
, but thought I'd raise this an a minor issue.The text was updated successfully, but these errors were encountered: