- #+BEGIN_QUERY {:title [:h3 "Orphaned empty page files"] :query [:find (pull ?p [*]) :where [?p :block/file _] [?p :block/name ?name] (not [(clojure.string/starts-with? ?name "hls__")]) [(missing? $ ?p :block/namespace)] (not (or [?b :block/refs ?p] (and [?b :block/page ?p] (not [?b :block/content ""]) ) ) ) ] } #+END_QUERY