code: def serve_coll_page(self, environ, coll='$root'):
          
          if not self.is_valid_coll(coll):
              self.raise_not_found(environ, 'No handler for "/{0}"'.format(coll))
  
          self.setup_paths(environ, coll)
  
          metadata = self.get_metadata(coll)
  
          view = BaseInsertView(self.rewriterapp.jinja_env, 'search.html')
  
          wb_prefix = environ.get('SCRIPT_NAME')
          if wb_prefix:
              wb_prefix += '/'
  
          content = view.render_to_string(environ,
                                          wb_prefix=wb_prefix,
                                          metadata=metadata,
                                          coll=coll)
  
          return WbResponse.text_response(content, content_type='text/html; charset="utf-8"')
docs: Render and serve a collections search page (search.html).
  
          :param dict environ: The WSGI environment dictionary for the request
          :param str coll: The name of the collection to serve the collections search page for
          :return: The WbResponse containing the collections search page
          :rtype: WbResponse