% require_dependency 'static_maps_url_helper' %> <%= content_for(:title) do %><%= @visualization.name %><% end %> <%= content_for(:description) do %><%= @visualization.description.present? ? "#{markdown_html_clean(@visualization.description)}. Map created by #{@name} in CARTO" : "Map created by #{@name} in CARTO" %><% end %> <%= content_for(:twitter_card) do %><%= Carto::StaticMapsURLHelper.new.url_for_static_map(request, @visualization, 560, 300) %><% end %> <%= content_for(:facebook_card) do %><%= Carto::StaticMapsURLHelper.new.url_for_static_map(request, @visualization, 1200, 630) %><% end %> <%= content_for(:css) do %> <%= render :partial => 'admin/visualizations/public/embed_map_inline_css' %> <% end %> <%= content_for(:body_class) do %> embed-map <% end %> <%= content_for(:content) do %> <% if @visualization.public? || @visualization.public_with_link? || @visualization.password_protected? || @visualization.organization? %>