Moved the output setting from the config to the template file.