更新 public_dataset.html.erb

This commit is contained in:
钟进 2020-07-13 16:34:04 +00:00
parent 783d37a55f
commit 7a5dee9be1

View File

@ -2,7 +2,7 @@
<%= content_for(:page_title) do %><%= @table.name.gsub(/_/," ") %><% end %>
<%= content_for(:description) do %><%= @table.description ? "#{@table.description}. Map created by #{@name} in CARTO" : "Map created by #{@name} in CARTO" %><% end %>
<%= content_for(:description) do %><%= @table.description ? "#{@table.description}. Map created by #{@name} " : "Map created by #{@name} " %><% end %>
<%= content_for(:twitter_card) do %><%= Carto::StaticMapsURLHelper.new.url_for_static_map(request, @table.table_visualization, 560, 300) %><% end %>
<%= content_for(:facebook_card) do %><%= Carto::StaticMapsURLHelper.new.url_for_static_map(request, @table.table_visualization, 1200, 630) %><% end %>