更新 application_table_public.html.erb
This commit is contained in:
parent
2352921a9b
commit
9f8ccc0238
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="zh">
|
||||||
<head>
|
<head>
|
||||||
<%= favicon_link_tag "favicons/favicon.ico" %>
|
<%= favicon_link_tag "favicons/favicon.ico" %>
|
||||||
<title><%= yield :page_title %></title>
|
<title><%= yield :page_title %></title>
|
||||||
@ -15,21 +15,6 @@
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="<%= request.original_url %>" />
|
<meta property="og:url" content="<%= request.original_url %>" />
|
||||||
<meta property="og:image" content="<%= yield :facebook_card %>">
|
<meta property="og:image" content="<%= yield :facebook_card %>">
|
||||||
<% if Cartodb.config[:facebook].present? && Cartodb.config[:facebook]['app_id'].present? %>
|
|
||||||
<meta property="fb:app_id" content="<%= Cartodb.config[:facebook]['app_id'] %>" />
|
|
||||||
<% end %>
|
|
||||||
<% if Cartodb.config[:facebook].present? && Cartodb.config[:facebook]['admins'].present? %>
|
|
||||||
<meta property="fb:admins" content="<%= Cartodb.config[:facebook]['admins'] %>" />
|
|
||||||
<% end %>
|
|
||||||
<meta property="article:publisher" content="https://www.facebook.com/cartodb" />
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta name="twitter:site" content="@CARTO">
|
|
||||||
<% unless @twitter_username.nil? %>
|
|
||||||
<meta name="twitter:creator" "@#{@twitter_username}" ">
|
|
||||||
<% end %>
|
|
||||||
<meta name="twitter:title" content="<%= yield :page_title %>">
|
|
||||||
<meta name="twitter:description" content="<%= yield :description %>">
|
|
||||||
<meta name="twitter:image" content="<%= yield :twitter_card %>">
|
|
||||||
|
|
||||||
<%= yield :css %>
|
<%= yield :css %>
|
||||||
<%= insert_google_tag_manager('embeds') %>
|
<%= insert_google_tag_manager('embeds') %>
|
||||||
|
Loading…
Reference in New Issue
Block a user