Refactored search page template and added indexStub template