You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which would return all items that have both the news and domestic tag.
I know that I can add custom collections via the config or add a custom filter. #608
However, both solutions are somewhat impractical to me:
Custom Collection: If another tag gets added I need to also add a new collection that includes this tag and also add every possible combination collection of the tags for filtering.
Custom Filter: As data is a string I can't make function calls at this point in frontmatter and if I use the filter later in the template pagination is off because the pagination result and filter result possibly don't match any more.
I've noticed #397 proposed (to my understanding) exactly this earlier this year. Has anything come of that?
The text was updated successfully, but these errors were encountered:
Hello everyone,
I'm trying to work with Pagination and I would like to pass a collection of data that contains multiple tags.
Example:
Takes every item with the tag
new
.What I would like to do is something akin to:
Which would return all items that have both the
news
anddomestic
tag.I know that I can add custom collections via the config or add a custom filter. #608
However, both solutions are somewhat impractical to me:
data
is a string I can't make function calls at this point in frontmatter and if I use the filter later in the template pagination is off because the pagination result and filter result possibly don't match any more.I've noticed #397 proposed (to my understanding) exactly this earlier this year. Has anything come of that?
The text was updated successfully, but these errors were encountered: