thymeleaf 0.1.0-beta.1

A framework-neutral Thymeleaf-compatible dynamic template engine for Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%TEMPLATE_MODE XML
# ------------------------------------------------------------
%CONTEXT
x = 2
# ------------------------------------------------------------
%INPUT
<p th:inline="none">
    This should not be replaced: [[${x}]]
</p>
# ------------------------------------------------------------
%OUTPUT
<p>
    This should not be replaced: [[${x}]]
</p>