cartodb-4.42/app/views/layouts/application_table_public.html.erb
2024-04-07 15:34:49 +08:00

29 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html lang="zh">
<head>
<%= favicon_link_tag "favicons/favicon.ico" %>
<title><%= yield :page_title %></title>
<meta name="description" content="<%= yield :description %>">
<meta name="keywords" content="<%= @table.name.gsub(/ /,", ").gsub(/_/,", ") %>, datasets, maps, data visualization, spatial data, geospatial, carto">
<meta name="author" content="<%= @table.owner.username %>">
<meta charset='utf-8' />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta property="og:title" content="<%= yield :title %>" />
<meta property="og:site_name" content="CARTO" />
<meta property="og:description" content="<%= yield :description %>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="<%= request.original_url %>" />
<meta property="og:image" content="<%= yield :facebook_card %>">
<%= yield :css %>
<%= insert_google_tag_manager('embeds') %>
</head>
<body class="public">
<%= insert_google_tag_manager_no_script('embeds') %>
<%= yield :content %>
<%= insert_trackjs('embeds') %>
<%= yield :js %>
</body>
</html>