Sha256: 66234e1242f390e9a92770bdfa4ffd7349d9b2a5c62ac6e53a613e7109b65107
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
<% @page_title = @post.title %> <% content_for :head do %> <% cache([@post, 'head']) do %> <%= spud_blog_rss_link %> <meta name="description" content="<%= @post.meta_description %>" /> <% if @post.meta_keywords.blank? %> <meta name="keywords" content="<%= @post.categories.collect{ |c| c.name }.join(',') %>" /> <% else %> <meta name="keywords" content="<%= @post.meta_keywords %>" /> <% end %> <% end %> <% end %> <% cache(@post) do %> <div class="row"> <div class="col-sm-12"> <div class="blog-post blog-post-partial"> <h1 class="blog-post-title"><%= @post.title %></h1> <h4 class="blog-post-author">Posted by <%= @post.author_name %> on <%= @post.display_date %></h4> <% if @post.categories.any? %> <p class="blog-post-categories"> <span>Filed under</span> <%= raw(@post.categories.collect{ |c| link_to c.name, post_category_path(c.url_name) }.join(', ')) %> </p> <% end %> <div class="blog-post-content"> <%= raw @post.content_processed %> </div> <p><%= link_to 'Back to all posts', posts_path %></p> </div> </div> </div> <% if @post.comments_enabled? && Spud::Blog.disqus_shortname %> <div class="row"> <div class="col-sm-12"> <%= render '/posts/disqus' %> </div> </div> <% end %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tb_blog-1.3.5 | app/views/posts/show.html.erb |
tb_blog-1.3.4 | app/views/posts/show.html.erb |
tb_blog-1.4.beta1 | app/views/posts/show.html.erb |
tb_blog-1.3.3 | app/views/posts/show.html.erb |