Pad template to correct indentation level