How calevin/blog works
This repository is a personal Astro blog. Readers browse posts by section and open individual articles; the content collection defines post metadata and section names, while MDX components provide styled article elements. The README also identifies Shiki syntax highlighting and a Neo-Brutalist visual design. Page and layout source was not sampled, so their exact calls and rendering relationships are not verified; dashed links indicate those workflow connections are inferred rather than evidenced.
Main entry points: pages Page Routes · blog Blog Posts · Layout.astro Site Layout · [slug].astro Article Page
Components 15
Blog Content
- Blog Collection
src/content.config.ts - Blog Posts
src/content/blog
Reader Experience
- Page Routes
src/pages - Blog Home
src/pages/index.astro - Section Listing
src/pages/[section]/index.astro - Article Page
src/pages/blog/[slug].astro - Not Found
src/pages/404.astro - Site Layout
src/layouts/Layout.astro - Sidebar
src/components/Sidebar.astro - Date Formatter
src/components/FormattedDate.astro
Article Presentation
- MDX Component Map
src/components/mdx/index.ts - MDX Elements
src/components/mdx - Shiki Highlighting
astro.config.mjs - Global Styles
src/styles/global.css
Other components
- Reader
Connections 17
- Reader → Page Routes: browses
- Page Routes → Blog Home: routes to
- Page Routes → Section Listing: routes to
- Page Routes → Article Page: routes to
- Page Routes → Not Found: routes to
- Blog Collection → Blog Posts: loads entries
src/content.config.ts - Article Page → Blog Posts: renders post
- Section Listing → Blog Posts: lists section
- Blog Home → Site Layout: uses layout
- Section Listing → Site Layout: uses layout
- Article Page → Site Layout: uses layout
- Site Layout → Sidebar: renders
- Article Page → Date Formatter: formats date
- MDX Component Map → MDX Elements: maps elements
src/components/mdx/index.ts - Blog Posts → MDX Component Map: renders MDX
- Blog Posts → Shiki Highlighting: highlights code
README.md - Site Layout → Global Styles: uses styles