Next: Builders, Previous: Pages, Up: Programming Interface [Contents][Index]
(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.
Create a new asset object. The source and target arguments are file names that are relative to a site source and target directory, respectively (see Sites).
Return #t
if object is an asset object.
Return the source file name for asset.
Return the target file name for asset.
Install the source file of asset into the target directory within prefix.
Create a list of asset objects to be stored within dest for all files in directory that match keep?, recursively.