Move social templates to index.php (from YARPP template)