% flash.each do |key, value| %>
<%= value %>
<% end %>
<%= @blog_post.title %>
<%= "#{t('by', :scope => 'blog.posts.show')} #{@blog_post.author.username}" if @blog_post.author.present? %>.
<% if (categories = @blog_post.categories).any? %>
<% end %>
<%= @blog_post.body.html_safe %>
<% if BlogPost::ShareThis.enabled? %>
<% end %>
<%= render :partial => '/shared/draft_page_message' unless @blog_post.nil? or @blog_post.live? -%>
<%= render 'nav' if next_or_previous?(@blog_post) %>