{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The facts of a post in a column (author, date, minutes, views), then the related reading as links.",
  "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/post-outline.json\n    The facts of a post in a column (author, date, minutes, views), then the related reading as links.\n    Props (p): post, extras, labels. -#}\n{%- set v_post = og_def(p['post'], none) -%}\n{%- set v_extras = og_def(p['extras'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set c_13 -%}\n  {%- set c_9 -%}\n    {%- set c_2 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'user', 'Size': 16}}) }}\n      {%- set c_1 -%}\n        {{ og_text(og_get(v_post, ['author'])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm'}, 'children': c_1}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_2}) }}\n    {%- set c_4 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'calendar', 'Size': 16}}) }}\n      {%- set c_3 -%}\n        {{ og_text(og_get(v_post, ['date'])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm'}, 'children': c_3}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_4}) }}\n    {%- set c_6 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'clock', 'Size': 16}}) }}\n      {%- set c_5 -%}\n        {{ og_text(og_tpl(og_get(v_labels, ['minutes']), [og_get(v_post, ['minutes'])])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm'}, 'children': c_5}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_6}) }}\n    {%- set c_8 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'eye', 'Size': 16}}) }}\n      {%- set c_7 -%}\n        {{ og_text(og_tpl(og_get(v_labels, ['views']), [og_get(v_extras, ['views'])])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm'}, 'children': c_7}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_8}) }}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'start', 'Class': 'text-muted-foreground'}, 'children': c_9}) }}\n  {%- set c_12 -%}\n    {%- set c_10 -%}\n      {{ og_text(og_get(v_labels, ['related'])) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Weight': 'medium', 'Class': 'uppercase tracking-wide text-muted-foreground'}, 'children': c_10}) }}\n    {%- for v_l in og_l(og_get(v_extras, ['outline'])) %}\n      {%- set c_11 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'chevron-right', 'Size': 16}}) }}\n        {{ og_text(og_get(v_l, ['name'])) }}\n      {%- endset -%}\n      {{ og_include('blocks/menu-entry.html.j2', {'p': {'href': og_get(v_l, ['href']), 'className': og_cnv(['text-sm font-medium']), 'size': 'sm', 'testid': 'post-link'}, 'children': og_markup(c_11)}) }}\n    {%- endfor %}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'stretch', 'Class': 'border-t border-border pt-4'}, 'children': c_12}) }}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'Gap': '6', 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'post-outline'])}, 'children': c_13}) }}\n",
      "path": "blocks/post-outline.html.j2",
      "target": "blocks/post-outline.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "post-outline",
  "registryDependencies": [
    "group",
    "lucide-icon",
    "menu-entry",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Post Outline",
  "type": "registry:component"
}
