Solid Build Status

Solid is an implementation in Elixir of the template engine Liquid. It uses neotoma to generate the parser.

Basic Usage

iex> template = "My name is {{ user.name }}"
iex> Solid.parse(template) |> Solid.render(%{ "user" => %{ "name" => "José" } }) |> to_string
"My name is José"

Installation

The package can be installed with:

def deps do
  [{:solid, "~> 0.1.0"}]
end

TODO

  • [x] Integration tests using Liquid gem to build fixtures; #3
  • [ ] All the standard filters #8
  • [ ] Support to custom filters #11
  • [ ] Tags (if, case, unless, etc)

    • [ ] for
    • [ ] raw
    • [ ] cycle
    • [ ] capture
    • [ ] increment
    • [ ] decrement
  • [x] Boolean operators #2
  • [ ] Whitespace control #10