Fix search [WIP]
Fix #26
So far I've only managed to remove the base_url is not defined error by moving base_url definition from search.html upstream to main.html. The search doesn't work though.
For some reason, search.html is not accessible even if include_search_page is true. Tried putting it in search/search.html, no result.
Interestingly, 404.html seems to not be accessible either.
Your changes fix the search functionality for me. (Windows 10, Python 3.6.1 mkdocs 1.0.4)
But I also see a broken 404 page.
Looks like the 404 issue is an upstream problem with mkdocs https://github.com/mkdocs/mkdocs/issues/1785