{% slot %}
{% slot media %}
{#- chirp-ui: Post Card component
Full social post: avatar, name, handle, timestamp, content, media, actions.
Named slots (Kida 0.3+): avatar, body (default), media, actions.
Usage:
from "chirpui/post_card.html" import post_card
call post_card(name="Alice", handle="@alice", time="2h ago")
{% slot avatar %}avatar(src="...", alt="Alice", size="md"){% end %}
{% slot media %}
{% end %}
{% slot actions %}action_bar_item(icon="♥", label="Like", count=42){% end %}
Check out this amazing sunset! 🌅
end Legacy: post_card_header, post_card_body, post_card_media, post_card_actions still available for backward compatibility. -#} {% def post_card(name=none, handle=none, time=none, href=none, cls="") %}