Package com.hubspot.jinjava.lib.tag
-
Interface Summary Interface Description FlexibleTag Tag -
Class Summary Class Description AutoEscapeTag BlockTag {% block name %}CallTag CycleTag {% cycle a,b,c %} {% cycle a,'b',c as d %} {% cycle d %}DoTag ElseIfTag ElseTag EndTag ExtendsTag ForTag {% for a in b|f1:d,c %}FromTag IfchangedTag IfTag ImportTag Jinja2 supports putting often used code into macros.IncludeTag MacroTag PrintTag RawTag SetTag {% set primary_line_height = primary_font_size_num*1.5 %} {% set lw_font_size = "font-size: " ~ lw_font_size_base ~ "px; " %} {% set lw_secondary_font_size = "font-size: " ~ (lw_font_size_base - 2) ~ "px; " %} {% set lw_line_height = "line-height: " ~ lw_font_size_base*1.5 ~ "px; " %}TagLibrary UnlessTag Unless is a conditional just like 'if' but works on the inverse logic.