code: def render_engine_or_search_template(template_name, **context):
      
      from indico_search.plugin import SearchPlugin
      assert current_plugin == SearchPlugin.instance
  
      templates = ('{}:{}'.format(SearchPlugin.instance.engine_plugin.name, template_name),
                   template_name)
      return render_plugin_template(templates, **context)
docs: Renders a template from the engine plugin or the search plugin
  
      If the template is available in the engine plugin, it's taken
      from there, otherwise the template from this plugin is used.
  
      :param template_name: name of the template
      :param context: the variables that should be available in the
                      context of the template.