Sha256: 42065b6ff6902324585c244fbce11e8bcd5cb674b3c5f200726c5f8464d2cb82

Contents?: true

Size: 1.73 KB

Versions: 4

Compression:

Stored size: 1.73 KB

Contents

<link rel="canonical" href="<%= blogelator_post_url(@post) %>" />
<% unless @post.meta_description.blank? %>
  <meta name="description" content="<%= @post.meta_description %>">
<% end %>
<% unless @post.meta_keywords.blank? %>
  <meta name="keywords" content="<%= @post.meta_keywords %>">
<% end %>

<meta property="article:published_time" content="<%= @post.created_at %>" />
<meta property="og:site_name" content="In the Booth" />
<meta property="og:type" content="article" />
<meta property="og:title" content="<%= @post.title %>" />
<meta property="og:description" content="<%=strip_tags(@post.summary_html) %>" />
<meta property="og:url" content="<%= blogelator_post_url(@post) %>" />
<meta property="og:image" content="<%= @post.image.url %>" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%= @post.title %>" />
<meta name="twitter:description" content="<%=strip_tags(@post.summary_html) %>" />
<meta name="twitter:url" content="<%= blogelator_post_url(@post) %>" />
<meta name="twitter:image:src" content="<%= @post.image.url %>" />

<script type="application/ld+json">
  {
      "@context": "http://schema.org",
      "@type": "Article",
      "publisher": "<%= t('titles.application') %>",
      "author": {
          "@type": "Person",
          "name": "<%= @post.author.name %>",
          "image": "<%= @post.author.profile_photo.url %>",
          "url": "/blog",
          "description": "<%= strip_tags(@post.author.bio_html) %>"
      },
      "headline": "<%= @post.title %>",
      "url": "<%= blogelator_post_url(@post) %>",
      "datePublished": "<%= @post.created_at %>",
      "image": "<%= blogelator_post_url(@post) %>",
      "description": "<%= strip_tags(@post.summary_html) %>"
  }
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blogelator-1.0.6 app/views/blogelator/posts/_meta.html.erb
blogelator-1.0.5 app/views/blogelator/posts/_meta.html.erb
blogelator-1.0.4 app/views/blogelator/posts/_meta.html.erb
blogelator-1.0.3 app/views/blogelator/posts/_meta.html.erb