On the northwestern outskirts of town, Candi Badut is a small Shivaite temple dating from the 8th century.