diff --git a/app/views/admin/communication/blocks/templates/links/_static.html.erb b/app/views/admin/communication/blocks/templates/links/_static.html.erb index 8f04e19a98d1e1e791a9b141e1e3def9bd0733e3..a6c09b28c1199b28b6554b1e5e1adb1aa024d058 100644 --- a/app/views/admin/communication/blocks/templates/links/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/links/_static.html.erb @@ -4,5 +4,6 @@ <%= block_component_static block, :title, template: element, depth: 4, list: true %> <%= block_component_static block, :description, template: element, depth: 5 %> <%= block_component_static block, :url, template: element, depth: 5 %> + external: <%= !(element.url.start_with?('/') || element.url.start_with?(@website.url)) %> <%= block_component_static block, :image, template: element, depth: 5 %> <% end %>