Sha256: 91eb015f36bb44451b571efcb4bdd29e3df50695f1ddb442a3bd06fe959ffb49

Contents?: true

Size: 1.1 KB

Versions: 10

Compression:

Stored size: 1.1 KB

Contents

<% content_for :title do %>
	<%= @post.title %> | <%=current_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">
		Filed under
		<%= raw(@post.categories.collect{ |c| link_to c.name, blog_category_path(c.url_name) }.join(', ')) %>
	</p>
	<% end %>
	<div id="spud_blog_post_content">
		<%= raw @post.content_processed %>
	</div>
</div>

<% if @post.comments_enabled %>
	<div class="spud_blog_post_comment">
		<h5>Post a Comment:</h5>
		<%= render 'comment_form' %>
	</div>
	<ul id="spud_blog_post_comments">
		<%= render :partial => 'comment', :collection => @post.visible_comments %>
	</ul>
<% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
tb_blog-1.0.4 app/views/blog/show.html.erb
tb_blog-1.0.3 app/views/blog/show.html.erb
spud_blog-0.9.11 app/views/blog/show.html.erb
tb_blog-1.0.2 app/views/blog/show.html.erb
tb_blog-1.0.1 app/views/blog/show.html.erb
tb_blog-1.0 app/views/blog/show.html.erb
spud_blog-0.9.10 app/views/blog/show.html.erb
spud_blog-0.9.9 app/views/blog/show.html.erb
spud_blog-0.9.8 app/views/blog/show.html.erb
spud_blog-0.9.7 app/views/blog/show.html.erb