Math for flatpages.