Handle multiple templates in render_plugin_template