What is DotLiquid?

DotLiquid is a templating system ported to the .net framework from Ruby’s Liquid Markup.

It’s easy to learn, fast and safe

You can have your users build their own templates without affecting your server security in any way.

Requirements

.NET Framework 3.5 or above

License

DotLiquid is intended to be used in both open-source and commercial environments. To allow its use in as many situations as possible, DotLiquid is dual-licensed. You may choose to use DotLiquid under either the Apache License, Version 2.0 , or the Microsoft Public License (Ms-PL). These licenses are essentially identical, but you are encouraged to evaluate both to determine which best fits your intended use.

Around the web

What does it look like?

...

<p>{{ user.name }} has to do:</p>

<ul>

    {% for item in user.tasks -%}

    <li>{{ item.name }}</li>

    {% endfor -%}

</ul>

...

Get started

If you use NuGet, then the easiest way to get DotLiquid is to install the DotLiquid NuGet package.

Otherwise, grab the current version from here or get the latest bits from github and compile it.

Read our documentation. Ask questions on the DotLiquid Google Group or Twitter.

Projects that use DotLiquid