Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A static site generator written in Python that turns markdown and templates into a static HTML site.
Hastie is a static site generator written in Python that processes a folder of markdown text files, applies a template, and generates a static HTML site. It is maintained as an open-source project on GitHub and distributed under the MIT License.
Hastie is a command-line tool that takes markdown content organized in directories, combines it with templates specified in a hastie.toml configuration file, and produces a complete HTML site in an output/ directory. The tool was originally written in Go and later rewritten in Python by its author, who uses it to power the personal site mkaz.blog. Unlike blog-specific generators, Hastie does not assume reverse-chronological posts or generate extra pages for authors and tags; it is designed for sites made of categorized pages.
Hastie's feature set is intentionally small, focusing on a simple content-to-HTML pipeline.
hastie.toml, allowing a clean separation between content and presentation.output/ folder that can be uploaded to any static host or CDN.python3 -m pip install git+https://github.com/mkaz/hastie.uv sync and running main.py.Hastie is aimed at users who prefer a no-frills static site generator that can be customized in Python.
The tool is versatile enough for a variety of static sites.
hastie.toml and combine them with markdown to quickly test different site layouts.hastie.toml configuration file.output/ directory.output/ folder to any static web server or hosting service.Yes, Hastie is open-source and released under the MIT License, so it is free to use, modify, and distribute.
Hastie is a static site generator: it takes markdown files, applies a template via a hastie.toml config, and outputs a complete HTML site to an output/ directory.
Install it with pip directly from the GitHub repository using python3 -m pip install git+https://github.com/mkaz/hastie.
Hastie is more minimalist: it does not require date-based content or generate author and tag pages. It is designed for sites made of categorized pages, whereas Pelican includes many blog-specific features.
