references:

  • plugs/index/page.ts
  • client/data/object_index.ts

Every page in your space is available via the page tag. You can attach additional tags to a page, by either specifying them in the tags attribute Frontmatter, or by putting additional Tag|tags in a standalone paragraph with no other (textual) content in them.

In addition to ref and tags, the page tag defines a bunch of additional attributes as can be seen in this example query:

${query[from index.pages() where name == _CTX.currentPage.name](from index.pages() where name == _CTX.currentPage.name)}