Something went wrong. Try again.
doll.systems community website
Something went wrong. Try again.
12345678910111213141516171819202122---import { documentHref, type Document } from '../lib/content';import EntryMeta from './EntryMeta.astro';import Icon from './Icon.astro';type Props = { entry: Document; heading?: 'h2' | 'h3' };const { entry, heading: Heading = 'h2' } = Astro.props;---
<article class="reading-entry"> <EntryMeta entry={entry} /> <Heading> <a href={documentHref(entry)} data-preview={entry.id}> {entry.data.title} <span class="entry-arrow"> <Icon name="arrow" /> </span> </a> </Heading> <p>{entry.data.excerpt}</p></article>