Pagination collection with tag getting zero results #3690
Replies: 4 comments
-
I don't think you can hyphenate collection names. Try renaming your collection |
Beta Was this translation helpful? Give feedback.
-
"blog-post" is the tag name; not explicitly a collection. Same issue? |
Beta Was this translation helpful? Give feedback.
-
in your code above I don't believe collections can have hyphens. And you wouldn't use quotation marks to access them. If you explain exatly what you are trying to achive, or better still share a repo I'l try and help. |
Beta Was this translation helpful? Give feedback.
-
In JavaScript, you can access a string key using brackets like so: collections["blog-post"] ![]() |
Beta Was this translation helpful? Give feedback.
-
But the results are empty. I have many (markdown) files in the same directory containing the "blog-post" tag.
Beta Was this translation helpful? Give feedback.
All reactions