nVelocity(或 Velocity)中的非真或假 if 语句的语法是什么?
更重要的是,这在 nVelocity 文档中在哪里?我已经谷歌搜索了很长一段时间,但无济于事。
我尝试了几种不同的组合,例如:
#if (!$artist.IsFestival)
$artist.FestivalName
#end
和
#if ($artist.IsFestival == false)
$artist.FestivalName
#end
太令人沮丧了!
提前致谢!
-EV