when-present<#else>when-missing#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${_staticVersion} [in template "common/pc/head.ftl" in macro "head" at line 29, column 70] - Reached through: @head.head [in template "anli/anliList.ftl" at line 6, column 5] ----]"/>