Sha256: 2114e5560daeb723a5e40766950fe3e8e4bef41597f18109553e6562fabf534e

Contents?: true

Size: 852 Bytes

Versions: 15

Compression:

Stored size: 852 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 %>

<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 %>
	</div>
</div>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
tb_blog-1.0.4 app/views/news/show.html.erb
tb_blog-1.0.3 app/views/news/show.html.erb
tb_blog-1.0.2 app/views/news/show.html.erb
tb_blog-1.0.1 app/views/news/show.html.erb
tb_blog-1.0 app/views/news/show.html.erb
spud_blog-0.9.10 app/views/news/show.html.erb
spud_blog-0.9.9 app/views/news/show.html.erb
spud_blog-0.9.8 app/views/news/show.html.erb
spud_blog-0.9.7 app/views/news/show.html.erb
spud_blog-0.9.5 app/views/news/show.html.erb
spud_blog-0.9.4 app/views/news/show.html.erb
spud_blog-0.9.3 app/views/news/show.html.erb
spud_blog-0.9.2 app/views/news/show.html.erb
spud_blog-0.9.1 app/views/news/show.html.erb
spud_blog-0.9.0 app/views/news/show.html.erb