Template render error: Unexpected token "name" of value "variant"