Ghost filter tricks
Using NQL syntax to do more with filtering

🌟
This post fragment got lost in my drafts from November '24 to Feb '25, when I wanted to refer someone to it. So here it is, better late than never?
Want to have different types of tags?
{{#get "tags" filter="slug:~^'fun'"}}
That gets all the tags whose slugs that start with fun, and no other tags.
Get all the posts that don't start with fun:
{{#get "posts" filter="title:-~^'fun'" include="tags,authors" limit="all"}}
The filter notation doesn't seem to work to find posts with a partially matching primary_tag. I suspect that the datamodel is 'different' for primary_tags on posts compared to other fields.