Microflash/gridsome-plugin-feed

How to apply multiple filters?

rasulkireev opened this issue · 1 comments

I tried the following:

filterNodes: (node) => (
   node.category == "Django",
   node.published == true
)

This ignores the first line for some reason.

filterNodes: (node) => (
   node.category == "Django" && node.published == true
)