app/views/blog/show.html.erb in spud_blog-0.7.0 vs app/views/blog/show.html.erb in spud_blog-0.7.2

- old
+ new

@@ -1,4 +1,18 @@ +<% content_for :title do %> + <%= @post.title %> | <%= Spud::Core.site_name %> +<% end %> + +<% content_for :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 %> + <div class="spud_blog_post"> <h3><%= @post.title %></h3> <h4>Posted by <%= @post.author.full_name %> on <%= @post.display_date %></h4> <% if @post.categories.any? %> <p id="spud_blog_post_categories"> \ No newline at end of file