3.31.0.txt

doc/release_notes/3.31.0.txt
Last Update: 2020-04-15 08:02:48 -0700

New Features

  • A relative_path plugin has been added, adding a relative_path method that will take an absolute path and make it relative to the current request by prepending an appropriate prefix. This is helpful when using Roda as a static site generator to generate a site that can be hosted at any subpath or directly from the filesystem.

  • In the path plugin, the path method now accepts a :relative option for generating relative paths instead of absolute paths.