Will further ignore Smary auto-generated files.
Modified templates to be able to load the main page.