Pages with a property value AND a header matching substring

Thanks again @mentaloid, you’re a legend. Yes, that works.

Couple of questions:

  • Where do I find information about or-join and things like it? It’s not mentioned at all in the official docs. I guess it’s from datalog/datomic? If so, does Logseq use the full spec? (this? Query Reference | Datomic - that seems to have an open ended expression-clause which can be a function, though perhaps I’m not reading it correctly.)
  • Is there a way to programatically extend that or-join, e.g if I want to make one of those header chunks for each header in a provided vector? For this page template, I only have a few headers I need, so it’s easy. Later on, I’m thinking I’ll want some templates with many headers.