Rista

Static sites in Ruby, from files to HTML.

Rista renders Haml pages and Markdown content to plain HTML files, with hashed CSS, JavaScript and image assets.

Built on Klenod, a module bundler for Ruby.

Get startedRead the documentation

What it does

A site in a few files

Gemfile

gem "rista"

klenod.config.rb

require "rista"

source_dir "src"
plugins Rista.plugins

Add a layout and a page under the source directory, then:

bundle exec rista serve    # http://localhost:4000, reloads on change
bundle exec rista build    # writes the site to out/

Requires Ruby 4.0 or newer.

Every step, from an empty directory

From the blog

All posts