fitz v0.1.1 Render
Link to this section Summary
Link to this section Functions
Link to this function
eex(template, data)
Fitz.Render.eex renders an EEx template
Examples
iex> template = "The bird is <%= color %>"
iex> EEx.eval_string(template, color: "blue")
The bird is blue
Link to this function
get_template(app, folder \\ nil, template)
Link to this function
liquid(template, data)
Fitz.Render.liquid renders a liquid template
Examples
iex > template = "The dog is {{verb}}"
iex> EEx.eval_string(template, verb: "shaggy")
The dog is shaggy