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”
…