Original: Blair hated the school and many years later based his posthumously published essay Such, Such Were the Joys on his time there.
Simplified: However, Blair hated the school.