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

26 lines
1.0 KiB
Plaintext

<!DOCTYPE html>
<html lang="zh">
<head>
<%= favicon_link_tag "favicons/favicon.ico" %>
<title><%= yield :title %></title>
<meta name="description" content="<%= yield :description %>">
<meta name="keywords" content="<%= @visualization.name.gsub(/ /,", ").gsub(/_/,", ") %>, datasets, maps, data visualization, spatial data, geospatial, CARTO">
<meta name="author" content="<%= @visualization.user.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:description" content="<%= yield :description %>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="<%= request.original_url %>" />
<%= yield :css %>
<%= insert_google_tag_manager('embeds') %>
</head>
<body class="<%= yield :body_class %>">
<%= insert_google_tag_manager_no_script('embeds') %>
<%= yield :content %>
<%= yield :js %>
</body>
</html>