Skip to main content

molecules

Project organizations

A span of organization titles separated by commas, used as the clients and partners value in project metadata. It renders nothing when the list is empty.

Specimens

Literal organizations
Ford Motor Company, Smithsonian
{{ ProjectOrgs.render({
  classes: "text-neutral-100",
  orgs: [{ title: "Ford Motor Company" }, { title: "Smithsonian" }]
}) }}
From a project
GSA, Office of Evaluation Sciences, Bixal
{{ ProjectOrgs.render({
  orgs: (collections.projectPages | filterByKey("slug", "improving-access-to-government-benefits-and-services") | first).organization
}) }}

Params

ParamTypeRequiredDescription
orgsArray<{ title: string }>NoList of organization objects. Renders nothing when empty or omitted.
classesstring | variant map | arrayNoApplied to the wrapping <span> through the classes filter.

Notes

Like the organizations list, it reads each record's title.