Skip to content
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

Available posts is incorrect with saber-plugin-query-posts and categories #578

Closed
sustained opened this issue Dec 21, 2019 · 1 comment
Closed

Comments

@sustained
Copy link

sustained commented Dec 21, 2019

Bug report

I have 3 posts in the _posts directory and each has a different category.

For my blog layout that has injectAllPosts: true all 3 posts are present.

For my category layout, only the first post I created shows for all 3 categories.

Steps to reproduce

https://github.com/sustained/sustained-saber

What is expected?

That, for my category layout, page.posts would:

  1. contain all posts OR
  2. contain only the posts in the category page.category

What is actually happening?

Only the first post I created is present for all categories.

Other relevant information

  • Result of running saber -v: 0.11.4
  • Is Saber a global or local install? Local
  • Which package manager did you use for the install? NPM
  • Does this issue occur when all plugins are disabled? Can't disable the plugin because the issue relates to the plugin.
@sustained
Copy link
Author

PEBKAC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant