Cherry.Content.Asset (cherry v0.4.0)

Copy Markdown View Source

A static file copied verbatim into the output tree.

path is the output-relative destination; source is the absolute file it is copied from. Assets never pass through transforms — that is what makes them assets.

Summary

Types

t()

@type t() :: %Cherry.Content.Asset{path: String.t(), source: Path.t()}