Static Tags

Framebox


HTML Escape

// Demo of using htmlescape with an included source file. // The HTML characters <, >, and & are OK here. public class Foo { private Map dictionary; public void addItem(String key, String value) { if (key != null && !key.equals("")) { dictionary.add(key, value); } } }

Set

  • article: a
  • subject: dictionary
  • A

Setvar

  • Google ABCD Alpha
  • Google ABCD Beta
  • Google ABCD Gamma

Spaceless

This whitespace should be unchanged
      also no changes
      to lines like this
    

Verbatim

    {% if foo == "bar" %}
      This is foo.
    {% else %}
      This is baz.
    {% endif %}

    {% setvar name "world" %}
    Hello {{ name }}!