Logseq query exclude templates Comment Assuming you’ve put your templates on a page named “templates”, use this as part of your :where: ... [?b :block/page ?bp] [?bp :block/name ?pn] [(not= ?pn "templates")] ... IT