Sha256: 5269d634270fdcb90626b170aed999c99c1554503788704a1032817709df4e34
Contents?: true
Size: 917 Bytes
Versions: 3
Compression:
Stored size: 917 Bytes
Contents
<% content_for :title do %> <%= @post.title %> | <%=current_site_name%> <% end %> <% content_for :head do %> <%= spud_news_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 %> <%cache ['news/show', @post] do%> <div class="spud_news_post"> <h3><%= @post.title %></h3> <h4>Posted by <%= @post.author.full_name %> on <%= @post.display_date %></h4> <% if @post.categories.any? %> <p id="spud_news_post_categories"> Filed under <%= raw(@post.categories.collect{ |c| link_to c.name, news_category_path(c.url_name) }.join(', ')) %> </p> <% end %> <div id="spud_news_post_content"> <%= raw @post.content_processed %> </div> </div> <%end%>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spud_blog-1.0.0 | app/views/news/show.html.erb |
spud_blog-1.0.0.rc1.1 | app/views/news/show.html.erb |
spud_blog-1.0.0.rc1 | app/views/news/show.html.erb |