add search boxes to page templates