Add minimal e2e pipeline to transform content → HTML: - src/error.rs: Custom error types with thiserror - src/content.rs: YAML frontmatter parsing via gray_matter - src/render.rs: Markdown → HTML via pulldown-cmark - src/templates.rs: Maud templates for base layout and posts - src/main.rs: Pipeline orchestrator All 15 blog posts successfully rendered to public/blog/*/index.html. Added thiserror and walkdir dependencies. Added public/ and DepMap fragment to .gitignore and AGENTS.md.
14 lines
281 B
TOML
14 lines
281 B
TOML
[package]
|
|
description = "Bespoke static site compiler for nrd.sh"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
name = "nrd-sh"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
gray_matter = "0.2"
|
|
maud = "0.26"
|
|
pulldown-cmark = "0.12"
|
|
thiserror = "2"
|
|
walkdir = "2"
|