If you're interested in local religious buildings head to Qinhuai Qu— home to Temple of Confucius.
You can study the exhibits at Nanjing Presidential Palace, a museum with a storied past, during your travels to Nanjing. While in the area, you can find time to visit its temples.