better {{else}} block handling with ctemplate