Fixed two simple problems

Single was showing an undefined variable notice so I added back something for the $meta_text var.

Added a .gitignore file and included .idea/ for PHP storm project files and .DS_Store which is not needed.

Also fixed the broken search page which was showing nothing.