Daiki Ueno commented:
I'm afraid we cannot help without looking at the exact content of the template file, which has not been provided. I'm closing this for now; please feel free to reopen if the issue still persists.