Splitting config for template:

template: appears three times in your configuration.yaml file. It should only be there once.