Nixtml: Static website and blog generator written in Nix
9 days ago
- #web-development
- #nix
- #static-site-generator
- Nixtml is a static website generator inspired by Hugo and written in Nix.
- It uses Nix expressions to define website configurations, including metadata, content directories, and static files.
- Supports markdown content transformation into HTML with customizable templates for different layouts (base, home, page, collection, taxonomy, partials).
- Features collections for grouping and paginating content (e.g., blog posts) and taxonomies like tags for categorization.
- Includes utilities for RSS feed generation and serving the website locally during development.
- Templates leverage Nix functions for HTML generation, reducing repetition with partials and modular layouts.
- Example projects (simple, blog) demonstrate usage and can be built directly with Nix commands.