hotfix map title in meta tags whoops
This commit is contained in:
parent
7b5bd53c28
commit
75ccfb0ab3
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@
|
|||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
|
||||
<% if controller.class.name == 'MapsController' && @map %>
|
||||
<meta property="og:title" content="<%= @map.title %>" />
|
||||
<meta property="og:title" content="<%= @map.name %>" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="<%= @map.screenshot_url %>" />
|
||||
<meta property="og:description" content="<%= @map.desc %>" />
|
||||
<meta property="og:url" content="<%= original_url %>" />
|
||||
|
||||
<meta name="twitter:title" content="<%= @map.title %>" />
|
||||
<meta name="twitter:title" content="<%= @map.name %>" />
|
||||
<meta name="twitter:image" content="<%= @map.screenshot_url %>" />
|
||||
<meta name="twitter:description" content="<%= @map.desc %>" />
|
||||
<meta name="twitter:url" content="<%= original_url %>" />
|
||||
|
|
Loading…
Reference in a new issue