refactor content.php partial