Classic sites was based on Jotspot, which they acquired in 2006. I'm pretty sure it was Ruby/Rails at that time.
I suspect sites, at some point, didn't make enough money to maintain a separate team with a skill set that wasn't common at Google.
It take 16 months after the purchase before they relaunched it, though. So perhaps they had already rewritten it in a Google tech stack?