thymeleaf 0.1.0-beta.1

A framework-neutral Thymeleaf-compatible dynamic template engine for Rust
%TEMPLATE_MODE HTML
# ------------------------------------------------------------
%INPUT[frag]
<head th:fragment="css" th:remove="tag">
    <link rel="stylesheet" type="text/css" media="screen" th:href="@{/something}" />
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" media="screen" th:href="@{/something}" />
    <![endif]-->
</head>
# ------------------------------------------------------------
%INPUT
<div th:replace="frag :: css">
</div>
# ------------------------------------------------------------
%OUTPUT
    <link rel="stylesheet" type="text/css" media="screen" href="/testing/something" />
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" media="screen" href="/testing/something" />
    <![endif]-->