Sha256: 2df8700736ce1675fadd67fc6a358cb273afe49801558950e711ec00d2059cd4

Contents?: true

Size: 695 Bytes

Versions: 8

Compression:

Stored size: 695 Bytes

Contents

<div class="fuel-post-additional-info">
  <!-- <span class="fuel_post_date"><%= post.created_at.strftime('%b %d, %Y') %> - </span> -->
  <span class="fuel-post-author">By <%= post.author %></span>
  <span class="fuel-social-buttons">
    <%= render 'tweet', post: post if action_name == "show" && Fuel.configuration.twitter %>
  </span>
</div>
<% if action_name == "show" %>
  <div class="fuel-post-content">
    <%= markdown(post.content).html_safe %>
  </div>
<% else %>
  <div class="fuel-post-content">
    <%= markdown(truncate post.content, length: 800).html_safe %>
  </div>
  <% if post.content.length > 800 %>
    <p><%= link_to 'Read more', post_url(post) %></p>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fuel-0.3.3 app/views/fuel/posts/_post.html.erb
fuel-0.3.2 app/views/fuel/posts/_post.html.erb
fuel-0.3.1 app/views/fuel/posts/_post.html.erb
fuel-0.3.0 app/views/fuel/posts/_post.html.erb
fuel-0.2.9 app/views/fuel/posts/_post.html.erb
fuel-0.2.8 app/views/fuel/posts/_post.html.erb
fuel-0.2.7 app/views/fuel/posts/_post.html.erb
fuel-0.2.6 app/views/fuel/posts/_post.html.erb