During the Edo period a new version was designed, made of structures located on both sides of the roof, like in this photo taken at the Toshougu Shrine in Nikko. Gegyo were sculpted in many forms, the ones in the photo being the oldest, inome gegyo (boar's-eye gable pendant), decorated with three heart-shaped holes.
EXIF info:
Nikon D300
Lens: 18-70mm F/3.5-4.5 G
Focal Length: 27mm
Aperture: F/4.5
Shutter Speed: 1/400s
ISO Sensitivity: ISO 400