prepare cms template