Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<html>
...
<body>
<if$if(member)>$
<gutter$gutter/top_gutter_logged_in()>$
<else>$else$
<gutter$gutter/top_gutter_logged_out()>$
<endif>$endif$
...
</body>
</html>

where template top_gutter_logged_in is located in the gutter subdirectory of my StringTemplateGroup.

IF actions test the presence or absence of an attribute unless the object is a Boolean/bool, in which case it tests the attribute for true/false. The only operator allowed is "not" and means either "not present" or "not true". For example, "<if$if(!member)>$...<endif>$endif$".

Whitespace in conditionals issue

...