only show social stuff when @page exists. Get rid of undefined constant search results length