Switched posts page to use main layout