Added resources to all templates