New dialect: thymeleaf-extras-conditionalcomments

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New dialect: thymeleaf-extras-conditionalcomments

danielfernandez
Administrator
Hi all,

Today we publish the first (beta) version of a new "extras" module: thymeleaf-extras-conditionalcomments

This module is a dialect that allows Thymeleaf to process Internet Explorer conditional comments including thymeleaf attributes, like:

    <!--[if IE 6]>
        <link rel="stylesheet" href="../../styles/ie6style.css" th:href="@{/styles/ie6style.css}" />
    <![endif]-->

All you have to do is include this dialect in your TemplateEngine instance, and it will work out-of-the-box.

More info at the ecosystem page and at the Project's GitHub page.

Regards,
Daniel.