Correct class on pages if it has no thumbnail.