Sha256: d2d0f045c4b90bdfef26c099ac0fe004500e33edfec4ded2b5014317a7f9787f

Contents?: true

Size: 1.26 KB

Versions: 10

Compression:

Stored size: 1.26 KB

Contents

<link rel="canonical" href="<%= request.original_url %>"/>

<meta name="description" content="<%= @meta[:description] %>">
<meta name="keywords" content="<%= @meta[:keywords] %>">

<%# Used by Vkontakte %>
<link rel="image_src" href="<%= @meta[:image] %>" />

<%# Open Graph (Facebook) %>
<meta property="og:title" content="<%= @meta[:title] %>" />
<meta property="og:description" content="<%= @meta[:description] %>" />
<% if @meta[:url] %>
  <meta property="og:url" content="<%= @meta[:url] %>" />
<% end %>
<% if @meta[:image] %>
  <meta property="og:image" content="<%= @meta[:image] %>" />
<% end %>
<% if @meta[:type] %>
  <meta property="og:type" content="<%= @meta[:type] %>" />
<% end %>
<% if @meta[:site_name] %>
  <meta property="og:site_name" content="<%= @meta[:site_name] %>" />
<% end %>

<%# Twitter Card %>
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<%= @meta[:title] %>">
<meta name="twitter:description" content="<%= @meta[:title] %>">
<% if @meta[:image] %>
  <meta name="twitter:image" content="<%= @meta[:image] %>">
<% end %>
<% if Blogo.config.twitter_username %>
  <meta name="twitter:site" content="@<%= Blogo.config.twitter_username %>">
  <meta name="twitter:creator" content="@<%= Blogo.config.twitter_username %>">
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
blogo-0.1.4 app/views/blogo/shared/_meta.html.erb
blogo-0.1.3 app/views/blogo/shared/_meta.html.erb
blogo-0.1.2 app/views/blogo/shared/_meta.html.erb
blogo-0.1.1 app/views/blogo/shared/_meta.html.erb
blogo-0.1.0 app/views/blogo/shared/_meta.html.erb
blogo-0.0.10 app/views/blogo/shared/_meta.html.erb
blogo-0.0.9 app/views/blogo/shared/_meta.html.erb
blogo-0.0.8 app/views/blogo/shared/_meta.html.erb
blogo-0.0.7 app/views/blogo/shared/_meta.html.erb
blogo-0.0.6 app/views/blogo/posts/_meta.html.erb