render the variable with liquid, remove unnecessary regex check