nixtml is a static website generator inspired by Hugo, designed for building blogs, documentation websites, portfolios and other content-driven sites using the Nix ecosystem. Website generation integrates directly with Nix flakes, allowing the content, configuration and dependencies of a website to be managed as part of a reproducible build.
The generator separates website content from its presentation. Developers define the website structure through modules and associate individual documents with metadata stored in YAML front matter. Templates receive contextual information about the content being rendered, enabling them to construct navigation elements, content listings and other components without manually maintaining separate index pages.
This is free and open source software.
Key Features
- Recursively convert directories of Markdown documents into HTML pages.
- Generate clean directory-based URLs for individual pages.
- Define global website metadata accessible from templates.
- Construct HTML using functional helpers for elements and attributes or conventional string-based templates.
- Separate layouts for home pages, ordinary pages, collections and taxonomies.
- Reuse template components through configurable partials.
- Generate paginated collections with configurable numbers of entries per page.
- Organise content using arbitrary taxonomies such as tags, categories and series.
- Optionally group related entries by taxonomy within collection listings.
- Generate RSS feeds for individual collections.
- Resolve relative Markdown links and rewrite document links to their generated page URLs.
- Include directories of static website resources.
- Import reusable themes as configuration modules.
- Documentation theme with sidebar navigation, light and dark colour schemes, self-hosted fonts and clipboard buttons for code examples.
- Minima theme for blogs with configurable navigation and post excerpts.
Website: github.com/arnarg/nixtml
Support:
Developer: Arnar Gauti Ingason
License: MIT License
Related Software
| Nix Static Site Generators | |
|---|---|
| Styx | Functional static site generator based on the Nix package manager |
| Reify | Microframework designed for building static sites |
| nixtml | Transforms Markdown content into HTML and integrates directly with Nix flakes |
| Coricamu | Static website generator for Nix / NixOS |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.