Integrating search with home and page templates