change template blocks to two-bracket syntax