render the templates in main ( because of the mobile version)