polly 0.1.2

A templating language for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/!DOCTYPE(html)
/html {
    /body {
        /p {
            $std.if_else(condition = @condition, component = &text, json = @text, else = &other)
        }
    }
}

&text(@text) {Wrong! @text}
&other(@text) {@text}