Sha256: b9fc3379cc94913e2531ab9d7166217835a402fefefdd46c3e54b79f438209fa

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

<% set_meta_tags  title: @post.seo_title || @post.title,
                  description: @post.seo_description || @post.subtitle,
                  canonical: "http://#{ @domain }#{ posts_show_path(@post) }",
                  open_graph: { type: 'article',
                                title: @post.seo_title || @post.title,
                                description: @post.seo_description || @post.subtitle,
                                url: "http://#{ @domain }#{ posts_show_path(@post) }",
                                image: @post.featured_image_url.empty? ? '' :  "http:#{ @post.featured_image_url }" } %>

<%= render partial: 'post', locals: { post: @post } %>

<nav class='navigation'>
  <%= link_to 'Blog Home', posts_index_path %>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
character-1.0.6 app/views/posts/show.html.erb