Brix.Media (Brix v0.1.1)

Copy Markdown View Source

A media asset. Path is relative to the media directory.

Summary

Types

t()

@type t() :: %Brix.Media{
  alt: String.t() | nil,
  caption: String.t() | nil,
  content_type: String.t() | nil,
  extra: map() | nil,
  path: String.t() | nil,
  slug: String.t() | nil
}