references:

  • plugs/index/data.ts
  • plugs/index/yaml.ts

You can also embed arbitrary YAML data blocks in pages via fenced code blocks and use a tag as a coding language, e.g.

$ref: pete-contact
name: Pete
age: 55

Which then becomes queryable via the contact tag: ${query[from index.objects("contact")](from index.objects("contact"))}