Limits
Rista is small on purpose. These are the things it does not do.
Not supported
- Markdown pages with params. A
+page.mdcannot defineself.static_params. Render Markdown from a Haml page, as in Markdown. - Syntax highlighting. Code blocks are plain
preandcodeelements. - Named slots, parallel routes and
+errorpages. - Hydration. There is no client runtime.
Builds
- A build is sequential and starts from scratch every time.
builddeletes its output directory first.- Google Fonts are downloaded the first time a font is used, and kept in a cache after that. A machine with an empty cache, such as a CI runner, needs the network.
Things that surprise
- Under a sub-path, a
srcsetwritten by hand, inline scripts and inline styles do not get the base path. Thesrcsetof an imported image already has it. - A Haml class with no rule in the template’s stylesheet is dropped from the output, with no error. See Styling.
- Markdown output has no scoped classes.
- A route with params and no
self.static_paramsfails the build. - A
+not-foundunder a param directory works inserveonly.