Blogatto

Package Version Hex Docs test

A Gleam framework for building static blogs with Lustre and Markdown.

Blogatto generates your entire static site from a single configuration: blog posts from markdown with frontmatter, static pages from Lustre views, RSS feeds, sitemaps, and robots.txt — all rendered via Maud components.

Features

How it works

You define a Config using the builder pattern, then call blogatto.build(config). The build pipeline:

  1. Cleans and recreates the output directory
  2. Copies static assets
  3. Generates robots.txt
  4. Parses markdown files, extracts frontmatter, renders HTML, and copies post assets
  5. Renders static pages from route view functions
  6. Generates RSS feeds
  7. Generates sitemap XML

The output is a fully static site ready to deploy to any static hosting provider.

Documentation

Guide Description
Getting started Installation, project setup, and your first build
Blog posts Directory structure, frontmatter, multilingual support
Configuration Full configuration reference
Markdown components Customizing markdown rendering
Static pages Routes, view functions, and using post data
RSS feeds Feed configuration, filtering, and serialization
Sitemap and robots.txt Sitemap and crawler configuration
Error handling Error types and recovery patterns

API reference

Full API documentation is available on HexDocs.