Forester 5.0 › Changes to handling of assets [P9BN]

Assets in compiled forests are content-addressed by their hash; a new primitive \route-asset is provided for generating the correct URL of an asset that is stored in a designated assets directory. For example, to embed an image that is stored in assets/images/my-great-illustration.jpg, you would write the following code:

\xmlns:html{http://www.w3.org/1999/xhtml}
\<html:img>[src]{\route-asset{assets/images/my-great-illustration.jpg}}{}