make only part of the template replaceable rather than the whole thing