Change $var a: $ctx.a style --> $var a = ctx.a
so that the var a in layout template could be used as an var, but not a
string