速度では、その値がnullである変数があります。その場合は何も表示したくありません。
現在、テンプレートエンジンは ""をnullに変換するので、実行する必要があります。
#set ( $a = "")
#if ($a)
assert("never prints a neither gets here: " + $a)
#end
それを直接行う方法はありますか?次のようなものを作成できるようにしたいと思います。
This is the variable $a. ## in case that $a is null i don't want 'dollar a' to be displayed