It was originally topped by a cap of pure gold , which reflected the bright sunlight and acted as a beacon for those who searched from afar for the temple .
The gold cap was eventually stolen by invaders and was never replaced .