Astral.Template.Source (Astral v0.1.6)

Copy Markdown View Source

Source for an Astral template file.

Astral keeps template source as a struct so renderers can distinguish static HTML layout strings from HEEx-backed .astral templates without relying on tuple conventions or map shapes.

Summary

Types

t()

@type t() :: %Astral.Template.Source{path: String.t(), source: String.t()}