Fixed typos in template configuration files and in related documentation