How to exclude a note from the dataview of a query?

I have a template for a note, which falls into the dataview query, because it has a parameter category:: which value is the same as in the dataview query, the template itself is in a separate folder on the hard disk, how can I exclude it from the query ?

You should be able to exclude your templates folder in the WHERE clause of the query:

 WHERE file.path != ”Templates” 

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.