--- import type { BskyPost } from '../../lib/types'; import { relTime } from '../../lib/variants'; interface Props { post: BskyPost; cls?: string; } const { post: p, cls = '' } = Astro.props; const bskyUrl = `https://bsky.app/profile/${p.author.handle}/post/${p.rkey}`; --- bsky

{p.text.length > 160 ? p.text.slice(0, 160) + '...' : p.text}

{relTime(p.createdAt)}