Previous: , Up: Programming Interface   [Contents][Index]


5.7 Assets

(use-modules (haunt asset))

Assets represent files on disk that should be copied verbatim to a site’s output directory. Common types of assets include CSS, JavaScript, images, and fonts. It is often the case that there are entire directories full of static assets to copy over, thus there is a convenient directory-assets procedure. However, it’s unlikely that this procedure needs to be used directly. See see Static Assets for a convenient builder.

Procedure: directory-assets directory keep? dest

Create a list of asset objects to be stored within dest for all files in directory that match keep?, recursively.