mirror of
https://github.com/prdlk/website.git
synced 2026-08-02 17:31:41 +00:00
1.2 KiB
1.2 KiB
blog
Purpose
Components for rendering Writing (the writing collection) — post mastheads, list previews, table of contents, and webmentions. (Folder is named blog for historical reasons; it serves the /writing section.)
Key Files
| File | Description |
|---|---|
Masthead.astro |
Post header: cover image, title, date, reading time, updated badge, and ExperienceTags (linked experience chips — replaces the old tag links). |
PostPreview.astro |
One-line writing entry (date + linked title) used in lists; links to /writing/<id>. |
TOC.astro / TOCHeading.astro |
Table of contents built from rendered headings. |
Subdirectories
| Directory | Purpose |
|---|---|
webmentions/ |
Webmention display components (see webmentions/AGENTS.md). |
For AI Agents
Working In This Directory
- These consume
CollectionEntry<"writing">. Mastheadrendersdata.experiencesviaExperienceTags; it no longer links freeformtagsto a/tagsroute (that route was removed).
Dependencies
Internal
@/components/ExperienceTags.astro,@/components/FormattedDate.astro,@/utils/generateToc.