remove redundant usage of pandoc template