Yogi Adityanath visited the Ram temple and the Hanuman Garhi temple in Ayodhya to offer prayers on Diwali and conveyed his greetings to the people of the state.