I want to do a simple arithmetic operation in a .ss template.
<% loop $Images %>
<img src="$Link" alt=""/>
<% $Pos == 4 %>
and {$TotalItems - 4} more foto's
$Break
<% end_if %>
<% end_loop %>
For example I would want to output
and 10 more foto's
But the best I can get is
and 14 - 4 more foto's
I know I can make a function, which works for now, but can I do arithmetic operations in the template?