{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Breadcrumbs over the badge, the heading and the lead; with one large figure, a note card or four key facts at the end.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/page-trail.json\n    The head of an inner page with breadcrumbs. Axes: aside (none, figure: one large figure such as a count or a total, note: a small card with a glyph such as a delivery promise or a document version, facts: four key facts in two columns), tone.\n    Props (p): id, title, lead, badge, label, crumbs, extras, aside, level, tone, landmarkLabel. -#}\n{%- set v_id = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_lead = og_def(p['lead'], '') -%}\n{%- set v_badge = og_def(p['badge'], '') -%}\n{%- set v_label = og_def(p['label'], none) -%}\n{%- set v_crumbs = og_def(p['crumbs'], none) -%}\n{%- set v_extras = og_def(p['extras'], none) -%}\n{%- set v_aside = og_def(p['aside'], 'none') -%}\n{%- set v_level = og_def(p['level'], 1) -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set v_titleId = og_add(v_id, '-title') -%}\n{%- set c_4 -%}\n  {%- set c_3 -%}\n    {%- if og_t(og_gt(og_len(v_crumbs), 0)) %}\n      {{ og_include('blocks/page-crumbs.html.j2', {'p': {'label': v_label, 'crumbs': v_crumbs, 'landmarkLabel': v_landmarkLabel}}) }}\n    {%- endif %}\n    {%- set c_2 -%}\n      {%- set c_1 -%}\n        {{ og_include('blocks/section-header.html.j2', {'p': {'titleId': v_titleId, 'title': v_title, 'heading': {'level': v_level, 'badge': v_badge}, 'lead': v_lead}}) }}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'start', 'Class': 'min-w-0'}, 'children': c_1}) }}\n      {%- if og_t(not (og_eq(v_aside, 'none'))) %}\n        {{ og_include('blocks/page-aside.html.j2', {'p': {'extras': v_extras, 'mode': v_aside}}) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(('grid grid-cols-1 items-center gap-8 lg:grid-cols-2' if og_t(og_eq(v_aside, 'facts')) else 'flex flex-col gap-6 md:flex-row md:items-end md:justify-between'))}, 'children': c_2}) }}\n  {%- endset -%}\n  {{ og_include('compose/container.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'flex flex-col gap-6'])), 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_3}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'section', 'Class': og_s(og_cnv(['py-8', ('bg-muted' if og_t(og_eq(v_tone, 'muted')) else '')])), 'Attrs': og_attrs(['aria-labelledby', (none if og_t(v_landmarkLabel) else v_titleId), 'data-tone', v_tone, 'data-aside', v_aside, 'aria-label', v_landmarkLabel, 'data-slot', 'section'])}, 'children': c_4}) }}\n",
      "path": "blocks/page-trail.html.j2",
      "target": "blocks/page-trail.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "page",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "page-trail",
  "registryDependencies": [
    "block",
    "box",
    "container",
    "page-aside",
    "page-crumbs",
    "section-header",
    "stack",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Page Trail",
  "type": "registry:block"
}
