Triyuginarayan is believed to be the capital of Himavat. It was the venue of the celestial marriage of Shiva and Parvati, during the Satya Yuga, witnessed in the presence of the holy fire that still burns eternally in front of the temple in a Havana-kund or Agni-kund, a four-cornered fireplace on the ground. Vishnu formalised the wedding and acted as Parvati's brother in the ceremonies, while the creator-god Brahma acted as the priest of the wedding, that was witnessed by all the sages of the times. The exact location of the wedding is marked by a stone called Brahma Shila, in front of the temple. The greatness of this place is also recorded in a sthala-purana (a scripture specific to a pilgrimage centre). According to the scripture, pilgrims who visit this temple consider the ashes from the burning fire as holy and carry it with them. It is also believed that ashes from this fire are supposed to promote conjugal bliss.