diff --git a/app/views/layouts/portal.html.erb b/app/views/layouts/portal.html.erb index f3f008305..bdb05e19c 100644 --- a/app/views/layouts/portal.html.erb +++ b/app/views/layouts/portal.html.erb @@ -128,7 +128,7 @@ By default, it renders: tocHeader: '<%= I18n.t('public_portal.toc_header') %>' }; - <% if @portal.channel_web_widget.present? %> + <% if @portal.channel_web_widget.present? && !@is_plain_layout_enabled %> <%= @portal.channel_web_widget.web_widget_script.html_safe %> <% end %>